update all buttons using jquery for ajax
I am using jquery to update all buttons in my page using
- $(document).ready(function(){ $( "input[type=submit], :button" ).button(); });
when I add a new button using ajax the above script wont be excuted please advice how can I fire the above script for ajax request , I doing ajax with wicket and not jquery.