on 09-26-2008 9:24 AM
Hi All,
How to pass a variable as a parameter value to window.open method..
f u n c t i o n call_window()
{
var myname = d o c u m e nt . ge t E le m e n tB y I d ('FName').value ;
wi n d o w . o p e n ( "../z_bizcard_newui/preview.htm?name=myname ", "WinE", "width=400,height=100,toolbar=no,resizable=no");
}
But it shows up as 'myname' in popup window instead of the value of the field....
Thanks,
Anubhav.
Sorry for the post..got the solution..
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.