Javascript “window.open” code won’t work in Internet Explorer 7 or 8
It’s the space in the second parameter that’s causing it. If you use “UploadPhoto” instead of “Upload Photo”, it works: $(‘#change_photo_link’).click(function(){ $id = $(‘#id’).attr(‘value’); window.open(“photo.upload.php?id=” + $id,”UploadPhoto”, “menubar=no,width=430,height=100,toolbar=no”); }); I can’t seem to find any official reasons as to why having a space in the windowName parameter of window.open() causes an error, but it’s likely … Read more