I have table on my view page. One of the cells has an ID (say "x"). When a certain button is clicked a JS function is called, and the purpose is to dynamically change the partial view contained inside that cell using the code:
$("#X")[0].innerHTML = @Html.Partial("PartialViewName");
It works perfectly on firefox, but not in IE8. Also, FIY,the partial view is an AJAX form.
$("#X")[0].innerHTML = "@Html.Partial("PartialViewName")";