Some time ago, when developing a B/S system, the MS Ajax control ASP: scriptmanager was used on a page. During running, a javascript runtime error is always reported-the object cannot be found. The following error message is displayed in the Japanese system. (When Microsoft JScript executes the Statement, the cause is too large .) Specifically, the form tag cannot be found on the page, but the form on the page certainly does. After several attempts, we found thatSCRIPT tags are playing tricks!To save trouble, I usedSingle closed labelWhen referencing script scripts, such as <SCRIPT src = "http://www.cnblogs.com/Js/check.js" type = "text/JavaScript" Language = "JavaScript"/>, I don't know why, ASP doesn't seem very fond of doing this, always report the errors mentioned above to me. It's okay if I change the reference to <SCRIPT src = "http://www.cnblogs.com/Js/check.js" type = "text/JavaScript" Language = "JavaScript"> </SCRIPT>!
I hope you can reduce unnecessary debugging time on this small problem!