java script code error
-
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
-
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
Instead of your line try following line.
See that I have converted all the single quote inside the outer single quote into double quote so that it will interpret your arguments that you have passed inside the function correctly. HTH
Jinal Desai - LIVE Experience is mother of sage....
-
Instead of your line try following line.
See that I have converted all the single quote inside the outer single quote into double quote so that it will interpret your arguments that you have passed inside the function correctly. HTH
Jinal Desai - LIVE Experience is mother of sage....
-
thnx for ur attention. but it gives same 16 errors: the error is : ;expected and if i remove the code it gives is erron on "onResize". said : not closed
Now try this one. I think you have just copy pasted my code. By mistakenly I have printed 'o' of önResize with some different language. So you just need to replace önResize with onResize. HTH
Jinal Desai - LIVE Experience is mother of sage....
modified on Saturday, July 17, 2010 2:29 AM