[thelist] JavaScript (Ajax) question - IE

Joshua Olson joshua at waetech.com
Wed Nov 9 23:00:24 CST 2005


> -----Original Message-----
> From: Rob Agar
> Sent: Wednesday, November 09, 2005 11:52 PM
> 
> > You'll need to pick another variable name other than content.
> 
> or, it seems, add "var" to the beginning of the line

Adding var makes the variable a local variable, which means that the
variable won't conflict with a global object.  In this page in ie, the
variable "content" was already taken because there was an element with an id
of "content".  That is why he couldn't assign a value to that variable name.

<><><><><><><><><><>
Joshua L. Olson
WAE Tech Inc.
http://www.waetech.com/
Phone: 706.210.0168 
Fax: 413.812.4864

Monitor bandwidth usage on IIS6 in real-time:
http://www.waetech.com/services/iisbm/





More information about the thelist mailing list