I got a new problem with this. The browser loses focus. Please suggest what I can do to retain focus at selected element. here again my jquery
$(document).ready(function(){ $("a.showHidePrograms").live('click', function(){ var $div= $(this).parent().next("div"); if($div.attr("class") == 'hide'){ $div.attr("class","show"); }else{ $div.attr("class","hide"); } $(this).focus(); }); }); I tried adding .focus() method but did not work. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqery-not-getting-called-after-ajax-refresh-tp1872270p2125879.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org