abenny2001
Programmer
- Feb 4, 2009
- 3
Hey Guys,
I have a situation where I have a list of dropdowns dynamically created in my for loop in JSP code. Now I need the name of dropdown on onClick[is that right choice?] so that I can play around with dojo APIs with dijit.byId(name). I tried by some logic:
var dropdowns = document.getElementsByName("db");
and then messed up with errors getting function/variable not defined. Any tip/help/snippet appreciated.Thank you.
I have a situation where I have a list of dropdowns dynamically created in my for loop in JSP code. Now I need the name of dropdown on onClick[is that right choice?] so that I can play around with dojo APIs with dijit.byId(name). I tried by some logic:
var dropdowns = document.getElementsByName("db");
and then messed up with errors getting function/variable not defined. Any tip/help/snippet appreciated.Thank you.