90
rated 0 times
[
97]
[
7]
/ answers: 1 / hits: 11559
/ 11 Years ago, mon, december 30, 2013, 12:00:00
HTML
<section id=one>
<form>
<input type=text />
<button id=btn>Go</button>
</form>
</section>
<section id=two >
<h1>Hi</h1>
</section>
I have the above html which has two sections.Im trying to hide the section with id two
hide and show section one
.When i click on go
button,section one
should fade and section two
should be shown.
Can some one help me code the jquery for this?
Im new to jquery.It would be helpful.
I have a fiddle at http://jsfiddle.net/x8B8c/
please dont ask what I have tried,im a fresher to javascript and html as well,I would like to know how this can be done
More From » jquery