Have you tried setting the click event with the "on" method ? When the user clicks the element with class trigger and the Ajax request completes, the log message is displayed.. All ajaxComplete handlers are invoked, regardless of what Ajax request was completed. How do you ensure that a red herring doesn't violate Chekhov's gun? Magento 2 - How to display messages on ajax success change In javascript, you can refresh the page using the below lines of codeif(typeof ez_ad_units!='undefined'){ez_ad_units.push([[320,50],'cloudhadoop_com-medrectangle-3','ezslot_3',117,'0','0'])};__ez_fad_position('div-gpt-ad-cloudhadoop_com-medrectangle-3-0');if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[320,50],'cloudhadoop_com-medrectangle-3','ezslot_4',117,'0','1'])};__ez_fad_position('div-gpt-ad-cloudhadoop_com-medrectangle-3-0_1');.medrectangle-3-multi-117{border:none!important;display:block!important;float:none!important;line-height:0;margin-bottom:7px!important;margin-left:auto!important;margin-right:auto!important;margin-top:7px!important;max-width:100%!important;min-height:50px;padding:0;text-align:center!important}. Provide an answer or move on to the next question. The window.history property help to manipulate the browser session history. How to check element is visible or not in JQuery? An example of data being processed may be a unique identifier stored in a cookie. How to refresh a current page in JQuery?| javascript refresh a page Jquery refresh page after 5 seconds | Javascript The AJAX help to refresh the whole page or a particular area on the page. How do I check if an element is hidden in jQuery? But after the first submision the page itself is called again. How to troubleshoot crashes detected by Google Play Store for Flutter app, Cupertino DateTime picker interfering with scroll behaviour. go() function in history provides an option to reload a page. contentType:'application/json;charset=utf-8', ,
Share this