G
Guest
I want to do some client-side operation by click different radiobuttonlist.
I tried to add "onclick" event for each itemlist, by register startup
clientside javascript. But the problem is I cannot get
document.getElementById work, because the list item id generated by ASP.net
is like myRdoList_0, myRdoList_1 ... and the names are "myRdoList". While
document.getElementById is supposed to identify element BY NAME but not by ID
attribute.
Anyone has luck with this problem?
strout
I tried to add "onclick" event for each itemlist, by register startup
clientside javascript. But the problem is I cannot get
document.getElementById work, because the list item id generated by ASP.net
is like myRdoList_0, myRdoList_1 ... and the names are "myRdoList". While
document.getElementById is supposed to identify element BY NAME but not by ID
attribute.
Anyone has luck with this problem?
strout