Jump to content

Edit History

jikail

jikail

Hello everyone,

Here in order page i use evt.preventDefault();

document.querySelector("button[name=confirm-addresses]").addEventListener("click", function(evt){

    $('body').css('opacity', 0.2);  
    $('body').append('<div class="loadme-circular"></div>');    
    evt.preventDefault();

	// my process

}

I want to after process cancel     evt.preventDefault(); for submit continue.

Have you idea plz?

Thanks

jikail

jikail

Hello everyone,

Here in order page i have a listener when i click to confirm adress, i process some instruction

document.querySelector("button[name=confirm-addresses]").addEventListener("click", function(evt){

    $('body').css('opacity', 0.2);  
    $('body').append('<div class="loadme-circular"></div>');    
    evt.preventDefault();

	// my process

}

I want to re submit form in the of process, tried to reload or redirect with params controller=order not work. 

Have you idea plz?

Thanks

×
×
  • Create New...