css - jQuery UI: Button opens Dialog / Button doesn't change status -



if use button open dialog, button doesn't change status normal (stay on ui-state-hover).
how can tell button change after clicking on it?

hope some1 can me :)

i believe ui-state-focus class that's being added when button clicked. if add end of buttons 'click' event, should reset normal state.

$('#button').toggleclass('ui-state-focus');


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -