jQuery html() not working on datalist in IE?
So I have a data list on a page. I am getting a new and updated list via AJAX from a PHP script when a radio button is changed. The AJAX call is going through okay and the results returned are correct.
However, when I do the following:
Code:
$.ajax({
url: "{$link->getUrl(false)}",
dataType: "html",
data: {},
success: function( data ) {
$( "#inputStationName" ).html(data);
},
error: onAJAXError
});
The data list is not updated in IE 7, 8 or 9. It works in FF, Opera and Safari.
Any ideas would be appreciated.