This question is locked. New answers and comments are not allowed.
Hi all,
Is there a way to apply an ID to the Window when it is being created in JavaScript? I would like to reference the Window using JQuery like $('WindowID'), but can't seem to be able to assign an ID to the Window. Using firebug to inspect it also confirms that the <div> tag it belongs to does not have an ID.
Note, that when I create the Window using Razor syntax, I am able to apply a Name to the Window that I can later use to reference the Window (and resize it, close it, re-open it, etc).
Thanks in advance for any help!
Is there a way to apply an ID to the Window when it is being created in JavaScript? I would like to reference the Window using JQuery like $('WindowID'), but can't seem to be able to assign an ID to the Window. Using firebug to inspect it also confirms that the <div> tag it belongs to does not have an ID.
Note, that when I create the Window using Razor syntax, I am able to apply a Name to the Window that I can later use to reference the Window (and resize it, close it, re-open it, etc).
Thanks in advance for any help!