[Javascript] invalid argument in IE

M lists at gazelasport.sk
Wed May 31 06:53:33 CDT 2006


Schalk wrote:
> Greetings All,
> 
> I get an 'invalid argument' error in IE when executing the following code:
> 
> function popImage(image,width,height) {
>     this.image = image;
>     this.width = width;
>     this.height = height;   
>    
>     window.open(image, "Image Viewer", "width=" + width + ",height=" +
> height + ",status=no,toolbar=no,menubar=no,location=no");   
> }

windowName can contain only alphanumeric or underscore (_) characters. 
Yours contain space




More information about the Javascript mailing list