Title: JScript runtime error: Unable to get value of the property 'alert': Post by: sdyson31 on May 29, 2015, 10:18:53 AM I am getting following error when using message alert.
0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'alert': object is null or undefined function ShowPopup(title, message, type) { $(function () { if (typeof type === "undefined") { type = ''; } $.messager.alert({ title: title, msg: message, icon: '', width: 550 }) }); }; Title: Re: JScript runtime error: Unable to get value of the property 'alert': Post by: stworthy on May 29, 2015, 05:42:58 PM The code below works fine.
Code: $.messager.alert({ Please check your code carefully. Title: Re: JScript runtime error: Unable to get value of the property 'alert': Post by: sdyson31 on May 30, 2015, 04:51:39 PM Is easyui compatible with jquery 2.1.1 ?
Title: Re: JScript runtime error: Unable to get value of the property 'alert': Post by: stworthy on May 30, 2015, 05:56:43 PM Yes, please refer to http://jsfiddle.net/hbwqb85h/
Title: Re: JScript runtime error: Unable to get value of the property 'alert': Post by: sdyson31 on May 31, 2015, 10:10:08 AM It is not working on asp.net master page.
I have added the following function on master page but it doesn't work. function show() { $.messager.show({ title: 'My Title', msg: 'Message will be closed after 4 seconds.', showType: 'show' }); } Jquery UI dialog works great on master page but not $.messager.show. |