java script code error
-
i use this javascript code, but this gives following error: "'mappedimg' is an unexpected token. Expecting white space. Line 1, position 27." code is here: <body onLoad='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');' onResize='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');'>"; thanx in advance
-
i use this javascript code, but this gives following error: "'mappedimg' is an unexpected token. Expecting white space. Line 1, position 27." code is here: <body onLoad='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');' onResize='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');'>"; thanx in advance
It's just invalid javascript. use double quotes!
...