|
Morning Mike Thanks for the pointers. I'm using web settings to insert the javascript, but still getting no joy. I've included a partial section of the jsp to illustrate what I'm trying to do. I'd appreciate any further help you can give me. This snippet is the field definition. The id attribute is what I'm using to try and populate the field with a value derived from the popUpCalendar function. The second parameter of popUpCalendar should be the id of the fieldname to populate. If I insert 'this' as the fieldname parameter, the function correctly returns the selected date to the input button defined, so the function works. If I can derive the id of the fieldname in the jsp, it should populate that. I hope I've explained that clearly. <TD NOWRAP colspan=8 rowspan=1><INPUT <% if (isProtected) { %> readonly tabindex=-1 <% } %> id="l<%=zOrder%>_HDR01$TESTDS" previousValue="<%=HDR01.getFieldValueWithTransform("TESTDS", QUOTED_TRANSFORM)%>" class="<%=isProtected?"wf_pr":""%> wf_default wf_field" VALUE="<%=HDR01.getFieldValueWithTransform("TESTDS", QUOTED_TRANSFORM)%>" SIZE=8 MAXLENGTH=8 ><input type=button onclick='popUpCalendar(this, HDR01.TESTDS,"dd/mm/yyyy")' value='select'></TD><% lastCol=21; %> Regards Niall --------------------------------- Find local movie times and trailers on Yahoo! Movies.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.