I'm trying to define a few events and styles for elements that will be dynamically added to the DOM based on user interaction with the application. I see that the live()
method can be used for the events but I can't figure out how to apply the styles and more specifically rules like the one below using the live()
method.
$('a.button').button(); //jquery-ui call to turn links into cool buttons