elvinawindow.onbeforeunload does not work in Iphone / Androidwindow.onbeforeunload doesnt work in Iphone there are many answers said “using onunload()” or “using pagehide()”Jul 4, 20171Jul 4, 20171
elvinaCheck terms condition then show the buttonfunction disableSubmit() { document.getElementById(“submit”).disabled = true;Jul 4, 2017Jul 4, 2017
elvinaanimated checkboxgoogle material style checkbox (css only) https://codepen.io/Sambego/pen/zDLxeJul 4, 2017Jul 4, 2017
elvinaif return back, uncheck checkboxwindow.onbeforeunload = function() { //unchecked your check box here. $(“input[type=’checkbox’]”).prop(‘checked’, false) };Jul 4, 2017Jul 4, 2017
elvinawrapAll option formif you want option from wrap to optgroup, bit tricky !!!Jun 6, 2017Jun 6, 2017