EasyUI Forum
May 20, 2024, 09:04:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Change Icon from $.message.alert easyui...  (Read 6279 times)
dayaners
Newbie
*
Posts: 16


View Profile
« on: May 14, 2014, 01:13:31 PM »

I wonder if it's to create or change the icon from Messager(alert) because I like to create one with icon of success.
some like:
Code:
$.messager.alert('My Title','Here is a info message!','success');

with this icon  ✓ or other


thanks 
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: May 14, 2014, 05:12:45 PM »

Please try this:
Code:
var m = '<div class="messager-icon icon-large-picture"></div>' +
'<div>Here is a message.</div>';
$.messager.alert('My Title', m);
Logged
dayaners
Newbie
*
Posts: 16


View Profile
« Reply #2 on: May 15, 2014, 04:27:11 AM »

Perfect...
Work!

thanks a lot
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!