Adding jQueryui Buttons to dynamically added content
- by Hippyjim
I have a list of items that have some jQueryUI buttons associated with them. After an action (deleting an item) I want to reload the list via ajax.
Only problem is when I do so the JQueryUI buttons no longer show, just the standard markup.
I know I can use jQuery.live() for dynamically adding click handlers etc, but how do I apply a jQueryUI button() to them?