Click to See Complete Forum and Search --> : XML Data Island Firefox


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

jkmyoung
11-20-2007, 01:44 PM
Data Islands are not supported in anything but IE, and are now deprecated in IE.
Moreorer, onreadystatechange is dependent on IE7 and up.
Sorry, but I'm personally not so good with FF