after click condition defult code example
Example: js opposite of preventdefault
event.preventDefault(); //or event.returnValue = false;
//and its opposite(standard) :
event.returnValue = true;
event.preventDefault(); //or event.returnValue = false;
//and its opposite(standard) :
event.returnValue = true;