e.preventdefault alternative code example
Example 1: js opposite of preventdefault
event.preventDefault(); //or event.returnValue = false;
//and its opposite(standard) :
event.returnValue = true;
Example 2: e.preventDefault
event.preventDefault();