Greetings,
I'm having trouble embedding javascript open.window in my code. I think I've made some kind of error in formulating the statement. can anyone help?
cout << "<a href=\"javascript:\"onclick=\"JavaScript window.open(link, 'profile', toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=590,height=425')\"> </a>";
The variable 'link' is a input that is captured from a form.
i'm gettin parse error?
thanks in advance
I'm having trouble embedding javascript open.window in my code. I think I've made some kind of error in formulating the statement. can anyone help?
cout << "<a href=\"javascript:\"onclick=\"JavaScript window.open(link, 'profile', toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=590,height=425')\"> </a>";
The variable 'link' is a input that is captured from a form.
i'm gettin parse error?
thanks in advance