EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jianspf on January 09, 2018, 02:26:57 AM



Title: show $.messager.alert problem in firefox
Post by: jianspf on January 09, 2018, 02:26:57 AM
      $.messager.alert({
         border:'thin',
         title: 'mymsg',
         icon:'info',
         msg: 'msgtx......',
      });

show $.messager.alert in firefox is always out of the window, but in chrome,ie, it's normal...how to resolve this problem.thanks.



Title: Re: show $.messager.alert problem in firefox
Post by: stworthy on January 09, 2018, 08:34:56 AM
Please look at this example http://code.reloado.com/ikuwel3/edit#javascript,html,live


Title: Re: show $.messager.alert problem in firefox
Post by: fgendorf on January 09, 2018, 09:49:39 AM
Did you tested on Firefox? the problem occur  with you code too


Title: Re: show $.messager.alert problem in firefox
Post by: stworthy on January 09, 2018, 05:10:15 PM
Please switch to the 'Render' tab and have a look.


Title: Re: show $.messager.alert problem in firefox
Post by: jianspf on January 09, 2018, 11:43:16 PM
It doesn't work. I copy your code to my new jsp page, it's still incorrect. please see the attached images.


Title: Re: show $.messager.alert problem in firefox
Post by: stworthy on January 10, 2018, 02:22:40 AM
Please put the doctype correctly. Use this line instead.
Code:
<!doctype html>
<html>
...
</html>