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.
at what point do you widgetize the button? it seems to me like you are doing it a bit later then when you really want to do it.
also, can you try widgetizing the button before you add the DOM to your page.. it probably wont work, but worth a shot
so here is an example of what i said above:
this might not work. but its worth a try.