EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: frankgao on February 22, 2016, 02:36:00 AM



Title: How to disable the text-box click function?
Post by: frankgao 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');
    });
}


Title: Re: How to disable the text-box click function?
Post by: battlezad on February 23, 2016, 01:53:04 AM
http://api.jquery.com/unbind/