I have a .aspx page that has a link on it, then when clicked opens a new window using window.open
.
I need to send a integer back and put that number into a textbox (which is a .NET control).
When I call window.opener
on the popuped up window, I have to reference the ID of the textbox. The issue is, the ID changes from time to time if you add things to the control tree.
How can I reliably reference the textbox's ID from the new window?
I have jQuery installed also, but not sure if I can use jQuery from the new window?