Two or more event listeners are listening to a radio button.
How can i make one of them execute the last?
jQuery(document).on('change', '#payment_id_2', function(){
location.reload();
});
This the event listener that i want to be executed the last.
I don't know where are the other event listeners to put them first.
You can set a timeout but i think its a bad practise to let the browser wait like this. Since this is in async though i dont think there is another way of doing it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.