<script type="text/javascript">
function getDataForCenterStore(selectedValue){
var secondStore = new dojo.data.ItemFileReadStore({ url: "<%=servletPath%>?selectedArea="+selectedValue});
dijit.byId("*****What should I give here*****).store =
//////
}
</script>...
Sorry I should have made it clear....
So I am generating multiple rows of dropdowns (say n )in for loop..
Each row has 3 dependent dripdpwn so I cannot use Onchange as it is reserved for this event.
//JSP
for(int i=0;i<length;i++){
1st row select name[and id are same]...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.