Skip to content Skip to sidebar Skip to footer

Page Throws Javascript Runtime Error: 'function Name' Is Undefined. Ie10 Only

While working on IE10, I have found that the JavaScript functions which are registered or called from the code behind are throwing exception: 'JavaScript runtime error: 'function

Solution 1:

Try placing the script at the end of the page using RegisterClientScriptBlock and call it.

   Page.ClientScript.RegisterClientScriptBlock("showGCAlert", 
     "<script type=\"text/javascript\">ShowGCAlert();</script>");

Post a Comment for "Page Throws Javascript Runtime Error: 'function Name' Is Undefined. Ie10 Only"