I am using country and state dropdowns in my form. Whenever the user selects the country in the dropdown, the respective states of the country will populate in the states dr
This is what worked for me: (I tested on IE7 - IE9, and Chrome)
It looks like the trick for IE is to use a DIV wrapper
Original html:
jQuery script:
$.ajax({
url: "/myapp/myajaxUrl.jsp",
type: "GET",
dataType: "html",
async: false,
success: function(msg) {
$("#dynamicMenu").html(msg);
});
Where msg is something like:
I tried .empty() .html() to no avail but the above worked great!