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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -