| 
	
 | 
 Posted by Jonathan N. Little on 07/15/79 11:29 
talthen.z-serwera.o2@nospam.pl wrote: 
>  "Jonathan N. Little" <lws4art@centralva.net> 
>  
>>No your problem is 'goto' is a JavaScript reserve word!!! 
>> 
>>JavaScript Reserve Words: 
>> 
>>abstract, boolean, break, byte, case, catch, char, class, const, continue,  
>>debugger, default, delete, do, double, else, enum, export, extends, false,  
>>final, finally, float, for, function, goto, if, implements, import, in,  
>>instanceof, int, interface, long, native, new, null, package, private,  
>>protected, public, return, short, static, super, switch, synchronized,  
>>this, throw, throws, transient, true, try, typeof, var, void, volatile,  
>>while, with 
>  
>  
> Thanks for the list :] 
> However goto is a function and I have goto as a variable. For MSIE and Opera  
> it makes the difference and MSIE is the inventor of JavaScript. 
 
Please lookup the meaning of a 'reserve word' in any computer  
language...it means that they cannot be use as intentifiers--'cuz their  
reserved! That is way the script I wrote changing the name of the input  
field from 'goto' to 'notgoto' works! 
 
--  
Take care, 
  
Jonathan 
------------------- 
LITTLE WORKS STUDIO 
http://www.LittleWorksStudio.com
 
[Back to original message] 
 |