I use a method .button()to set the style of buttons and other input elements.
.button()
But when I use javascript to create any other button, I need to call the method again .button().
Can jQuery user interface automatically set style as method .live()(it can set event automatically).
.live()
Unfortunately, as far as I know, this is not possible.
If you see what you have to write .button()everywhere, consider writing a function to encapsulate this behavior yourself.
, :
http://brandonaaron.net/code/livequery/docs
jquery.