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

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

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