within the container $(‘#accDetail h3’).click(function(e) { //Close all but the right after the clicked $(e.target).next(‘div’).siblings(‘div’).slideUp(‘fast’); //Toggle open/close on the after the , opening it if not open. $(e.target).next(‘div’).slideToggle(‘fast’); $(‘h3’).removeClass(‘faqOpen’); $(this).addClass(‘faqOpen’); }); ]]> Post Comment ‘);$(“#”+a+” form”).append(”); $(“#”+a+” form”).append(”);$(“#”+a+” form”).append(‘]]> ‘);$(“#”+a+” form”).append(”);$(“#”+a+” form”).append(”);$(“#”+a+” form”).append(”);$(“#”+a+” form”).append(”); $(“#”+a+” form”).append(“”);$(“#parentId”).val(b);$(“#captcha-no1”).text($(“#captcha-no”).text());$(“#”+a).show()});$(document).on(“click”,”.comment-close”,function(){$(“.reply-form”).text(“”);$(“.reply-form”).hide()})}); function submitCommentForm(a){if(vld=requireText(“user-comment”,”Please enter your Comment”)&&commentNameVld(“user-name”)&&commentEmailVld(“user-email”)&&captchaVld(“user-captcha”)){var b=$(this);a.stopPropagation();b.data(“requestRunning”)||(b.data(“requestRunning”,!0),$.ajax({type:”POST”,url:$(“#reqUrl”).val(),data:$(“#commentForm”).serialize()}).done(function(c){res=$(c).find(“register”).text();validation=$(c).find(“validation”).text();if(“true”==res){$(“#submitMsg”).text(“Your Comment posted successfuly”); …
Read More