EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 12, 2026, 12:28:59 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
bind function when ok button on messager confrim click
Pages: [
1
]
« previous
next »
Print
Author
Topic: bind function when ok button on messager confrim click (Read 13827 times)
Opan Mustopah
Full Member
Posts: 164
Indonesia
bind function when ok button on messager confrim click
«
on:
May 09, 2015, 03:06:29 AM »
hello again,
the title says all.
it is possible to do that? . i already read carefully the document, but there is not method of function to get the ok button, so i can bind that button to some function.
my purpose to do this is because i have already a static function that it called with many form, and i can't change or modify that function which will impact to other form .
many thanks for the answer
Logged
-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
stworthy
Administrator
Hero Member
Posts: 3581
Re: bind function when ok button on messager confrim click
«
Reply #1 on:
May 09, 2015, 08:56:51 AM »
After enter something on the textbox and then click the 'Ok' button, the callback function is called. Please refer to the following code.
Code:
$.messager.confirm('Confirm', 'Are you sure to exit this system?', function(r){
if (r){
// exit action;
}
});
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...