This may help:

http://www.javascriptkit.com/jsref/reserved.shtml

Thanks,
Todd Allen
EDPS
Electronic Data Processing Services
tallen@xxxxxxxxxxxx




Nathan Andelin
<nandelin@xxxxxxx
om> To
Sent by: Web Enabling the AS400 / iSeries
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com cc

Subject
2010-02-03 16:12 [WEB400] Beware of using "class"
variable in I.E.

Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






Hopefully this message will save somebody some time debugging their
JavaScript. I innocuously used the name "class" as a variable name, and
had a bugger of a time finding the bug in I.E. It's okay in Chrome and
Firefox, but not in I.E. or Safari. For example:

<html>
<body>
</body>
<script>
var class = 'Algebra II';
alert('class = ' + class);
</script>
</html>




This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.