JSLearner789
11-20-2007, 10:10 AM
I have an XML Data Island on the page as such:
<xml src="" onreadystatechange="onStockChange(this, 'stockPanelId')" id="runtimeStockDataId"></xml>
I use this to update a stocks table on the page with xml data from the server. Any time a change occurs in the xml data, it updates it by calling the onStockChange function.
This works great in IE, but obviously not in FF.
I've seen some examples of using using xml data islands in Firefox, but none that bind to an onreadystatechange event to fire a function in Javascript.
Does anyone have any idea how to do this in Firefox and Javascript?
Thanks in advance
<xml src="" onreadystatechange="onStockChange(this, 'stockPanelId')" id="runtimeStockDataId"></xml>
I use this to update a stocks table on the page with xml data from the server. Any time a change occurs in the xml data, it updates it by calling the onStockChange function.
This works great in IE, but obviously not in FF.
I've seen some examples of using using xml data islands in Firefox, but none that bind to an onreadystatechange event to fire a function in Javascript.
Does anyone have any idea how to do this in Firefox and Javascript?
Thanks in advance