Hi,

it's the same in rpgle / free - don't use instruction name as field names.






Nathan Andelin <nandelin@xxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
03-02-2010 22:12
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc

Subject
[WEB400] Beware of using "class" variable in I.E.






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>




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.