Sign in to follow this  
Prakash Viswanathan

XML issues with Internet Explorer

Recommended Posts

Hi

 

We have a situation a piece of code works well in Chrome, Safari & Mozilla, but behaves differently in Internet Explorer.

 

The code is in PHP with rendering of the SSGRID in Java Script. 

 

We have a Drop down with various data and based on the selection (Onchange event - Ajax code), the SSGRID displays the data for that criteria.

 

The code is on DataURL method which is coded in a separate PHP which creates a XML file and the same is used by the parent PHP code to display the Grid.

 

When you select new data in the Dropdown, the chart displays and when you reselect the past selected option the XML parsing happens but does not create the XML file. But the xmlhttp.readyState and xmlhttp.status are valid. 

 

Any idea what could be the issue here.

 

Regards,

Prakash

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Prakash,

 

Could you please confirm once, whether on selecting the same data, the requested PHP URL (from Ajax code) will receive the correct query parameters?

 

If yes, please try echoing the XML string generated from that PHP page (which is passed to the chart rendering page) and see if valid XML is being returned.

 

It seems, on selecting the previously selected item, the onChange event will not trigger. To have this similar feature, you would need to implement some tricks. Please visit the link for more information on this: http://stackoverflow.com/questions/5964362/select-already-selected-item-in-dropdown-select-list

 

Hope this helps!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this