Hi all,
I have a problem of translating the path for the new window from a variable.
The variable is website.
This opens a new window but the path translate as:
The code:
out.println("<tr><td>Website: <a href=\" + RS.getString(12) + "\" onClick=\"window.open('http:// + website', 'newWin', 'toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=800,height=460');return false;\">" + RS.getString(12) + "</a></td></tr>"}
I think it's just a problem of syntax but which one?
Thanks for your help,
Vero
I have a problem of translating the path for the new window from a variable.
The variable is website.
This opens a new window but the path translate as:
The code:
out.println("<tr><td>Website: <a href=\" + RS.getString(12) + "\" onClick=\"window.open('http:// + website', 'newWin', 'toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=800,height=460');return false;\">" + RS.getString(12) + "</a></td></tr>"}
I think it's just a problem of syntax but which one?
Thanks for your help,
Vero