Encountering an issue with Internet Explorer 7 while using ASP.NET MVC 3. The result page appears as follows:
<button type="button" onclick=" ShowOperation('/Page/Box/ShowOperation/CreateBox', '') ">...
The error message (specific to IE7) looks like:
Error: The value of the property 'ShowOperation' is null or undefined, not a Function object.
The function mentioned is defined in an external file called page.js
function ShowOperation(operationUrl, type) {
if (type && type == 'download') {
var temp = $("#pageGrid").jqGrid('getGridParam', 'selarrrow');
if(temp.length == 0) {
ProceedAjax(operationUrl, AjaxWarning);
return;
}
$("#doOperation").attr("action", operationUrl);
var uu = operationUrl.split("/");
var action = uu[uu.length-1];
$("#doOperationAction").val(action);
$("#doOperationIds").val(temp);
$("#doOperation").submit();
return;
}
ProceedAjax(operationUrl, AjaxError);
return;
}