javascript - Why is the div positioning changing on popup button click? -
i have single html page has several div class. in second div class have registration form. when click on submit button , check validation , give pop up, after clicking on pop redirect on home div, , want registration div class stay same after clicking on pop button. how can this?
if using href click , call js method. have prevent default behavior. may solve prob don't use href.
function(e){ e.preventdefault(); // code. return false; }
Comments
Post a Comment