Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > NumericTextBox > Jquery bind method for Integer textbox

Not answered Jquery bind method for Integer textbox

Feed from this thread
  • Shreejit avatar

    Posted on Feb 1, 2012 (permalink)

    Hi,

    I have a page consisting of 3 controls: a text box, a Telerik integer text box and a button. The user can modify the data in the textbox and integer text box and then click on button to save the changes. I want to enable the button only if the user makes some changes to either textbox or Integer Text Box for which I'm using the JQuery bind method in the following way to enable and disable the Button:

    $('#myTextBox').unbind('change').bind('change', myEventHandler);

    $('#myIntegerTextBox').unbind('change').bind('change', myEventHandler);

    But this code works only for textbox and NOT while increasing or decreasing the value using the spin button of integer text box. This works for integer text box only when I manually enter the value in the integer text box and not while using the spin button. I have also tried using the 'click' and 'keypress' instead of 'change' but that also does not work.

    Any pointer on how to go about this would be really helpful.

    Thanks,
    Shreejit

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > NumericTextBox > Jquery bind method for Integer textbox
Related resources for "Jquery bind method for Integer textbox"

ASP.NET MVC NumericTextBox Features  |  Documentation  |  Demos  |  Telerik TV ]