portalguy123
Programmer
Hello Experts,
I am dynamically generating textboxes using javascript and validating the values inserted into these textboxes.
I have the following line of code in my jsp ..
<a name="calendarAnchor<%=count%>" id ="calendarAnchor<%=count%>" href="#" onClick ="cal1.select(document.forms[0].<%=prefix%>completionDate{actionForm.insertItems[<%=count%>].completionDate},'calendarAnchor<%=count%>','MM/dd/yyyy');return false;"> Select Completion Date</a>
The bolded line of code is givng an error "Expected )" when the javascript function seelct is is invoked..
FYI .. the select function is defined as follows..
function CP_select(inputobj, linkname, format)
Can you please let me know what the problem might be ..
Thanx in advance.
-Bob
I am dynamically generating textboxes using javascript and validating the values inserted into these textboxes.
I have the following line of code in my jsp ..
<a name="calendarAnchor<%=count%>" id ="calendarAnchor<%=count%>" href="#" onClick ="cal1.select(document.forms[0].<%=prefix%>completionDate{actionForm.insertItems[<%=count%>].completionDate},'calendarAnchor<%=count%>','MM/dd/yyyy');return false;"> Select Completion Date</a>
The bolded line of code is givng an error "Expected )" when the javascript function seelct is is invoked..
FYI .. the select function is defined as follows..
function CP_select(inputobj, linkname, format)
Can you please let me know what the problem might be ..
Thanx in advance.
-Bob