Why does jquery button take a second to refresh after updating a page using ajax
Posted
by oo
on Stack Overflow
See other posts from Stack Overflow
or by oo
Published on 2010-05-12T13:10:10Z
Indexed on
2010/05/13
6:24 UTC
Read the original article
Hit count: 242
jquery-ui-button
|jQuery
when i refresh a part of a webpage that has a jquery ui button, it seems like I have to call:
$(":button").button();
again or it shows up as a regular button. Thats fine but when i do this, it still shows up as a regular button for a split second before converting to the styling of the jquery theme. is there anyway to avoid this as it looks a bit messy.
NOTE: i noticed that this is for anything that i am theming using jquery ui like autocomplete, button, etc. so its not button specific issue.
© Stack Overflow or respective owner