Hello everyone,
can you help me to solve my problem, I have a registration with two same div class..once the button clicked i want to hide the first div and the second div must appear. How can i do that?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
mary jean ligasPosted Oct 5, 2012, 4:50 AM
Charan rajPosted Oct 5, 2012, 4:49 AM
u can do using jquery.
div1
div2
$(document).ready(function(){
$('#btnOk').click(function(){
var divs = $('#maindiv .login');
divs [0].style.display='none';
});
});
Alok UniyalPosted Oct 5, 2012, 3:30 AM