EasyUI Forum
June 26, 2024, 07:46:18 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 disable the text-box click function?  (Read 3918 times)
frankgao
Jr. Member
**
Posts: 53


View Profile Email
« on: February 22, 2016, 02:36:00 AM »

I want bind and unbind the textbox click function?
I know the bind method,but I don't know unbind.

Code:
function setBtnOk{
  $("#SpCode").textbox('textbox').bind("click", function () {
            alter('OK');
    });
}
Logged
battlezad
Newbie
*
Posts: 44


View Profile
« Reply #1 on: February 23, 2016, 01:53:04 AM »

http://api.jquery.com/unbind/
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!