Hi all,
By mistake I posted my query in VB.Net Forum. So here posting it again
Hi all,
I am adding items to my ListBox in parent window from a child window through javascript. Here's the code:
But on the button click on the parent window, the ListBox's Count property gives me a value of zero.Code:var id=document.getElementById('<%=lstGroups.ClientID%>'); var y=document.createElement('option'); y.text=arrGroup[i]; y.value=arrGroup[i]; id.options.add(y);
I faild to understand why this is happening!!!
Pls guide.




Reply With Quote