EasyUI Forum
April 28, 2024, 02:43:44 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: Datetimebox OK button event  (Read 527 times)
shivavalkyre
Newbie
*
Posts: 39


View Profile
« on: February 18, 2024, 08:30:00 AM »

how to detect OK button clicked at datetimebox

thanks
Logged
Wojak
Newbie
*
Posts: 48


View Profile Email
« Reply #1 on: February 19, 2024, 12:11:46 AM »

Maybe you can use the example from datebox, because dateboxtime extend from datebox

Code:
var buttons = $.extend([], $.fn.datebox.defaults.buttons);
buttons.splice(1, 0, {
text: 'MyBtn',
handler: function(target){
alert('click MyBtn');
}
});
$('#dd').datebox({
buttons: buttons
});
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!