Title: [SOLVED]SwitchButton keyboard events Post by: aiit on June 12, 2019, 04:16:45 PM I don't want switchbutton send onChange event by keyboard(Enter button), any one can solve it?
Here is my code: Code: var sb = $('#sb') Title: Re: SwitchButton keyboard events Post by: stworthy on June 12, 2019, 07:13:22 PM Please rewrite the 'keydown.switchbutton' event handler.
Code: $('#sb').next().unbind('keydown.switchbutton').bind('keydown.switchbutton', function(e){ Title: Re: SwitchButton keyboard events Post by: aiit on June 13, 2019, 04:50:47 AM Thanks for quick reply.
Works great. |