PDA

View Full Version : JavaScript OnClick event handler.



aditya.bgs
Apr 9th, 2012, 12:01 PM
hello everyone, i am new to all this..

i need help regarding..

i am generating text box dynamically(mean it's a multiple select box, depending upon the number you select , it will generate that many text field.)

my problem is that i want to assign a calender to the text field generated whenever a user clicks on that text field.

i am able to do it for simple text field

as
onclick="javascript: showCalendar('idname')"

but how to do it in this case, where can i declare this ?

jmrker
Apr 9th, 2012, 02:54 PM
Show the HTML layout you are going for and then we can add JS suggestions.

Better yet, show your JS attempts to this point.