EasyUI Forum
September 19, 2025, 03:28:05 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to change Title , Message in progress Bar ?  (Read 9497 times)
Jonny
Newbie
*
Posts: 38


View Profile Email
« on: March 25, 2016, 04:15:43 AM »

Dear Sir/Madam,

       Could you please teach me how to set (change) Title / Message in progress bar?

Below is working good's technic:
$.messager.progress({ title: 'Updating:', msg: 'Data:', interval: 0 });
var bar = $.messager.progress('bar');   
bar.progressbar('setValue',  100);


Then I imitate the above technic:
var tit = $.messager.progress('title');    // get the progressbar object
var msg = $.messager.progress('msg');    // get the progressbar object
tit.progressbar('setValue',  'Updating hardly:');
msg.progressbar('setValue',  'Data: on the go bla bla');


Please help me correct the command/syntax in red color which were error at all...
Thank you..


Regards,
JONNY








         
           
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: March 25, 2016, 09:19:32 AM »

Please try this:
Code:
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
win.dialog('setTitle','Updating hardly:');
win.find('.messager-p-msg').html('Data: on the go bla bla');
Logged
Jonny
Newbie
*
Posts: 38


View Profile Email
« Reply #2 on: March 25, 2016, 10:30:31 AM »

Thank you very much Sir,

          Your guidance really working perfectly ! Shocked

So Happy get helped again  Cheesy  Cheesy  Cheesy 


Regards,
Jonny
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!