Amperstand in my url is preventing validation
Posted: Tue Mar 28, 2006 5:08 pm
I have function that looks like this:
The amperstand symbol causes the page to not validate as XHTML, but if I use & the script doesn't work... anybody know how I could fix this?
Code: Select all
function popup(image_name, border){
var newWindow = window.open("display_img.php?img=" + image_name + "&border=" + border, "display", "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=750", "");
}