Saturday, 28 September 2013

javascrpit - show hide button

javascrpit - show hide button

i have a problem in code JavaScript/jquery .. i am aclick in button and
content hide faster
<div class='show_hide' id='slidingDiv'>
<br/>
<input class='show_hide' href='javascript:void(0);' type='button'
value='show post'/>
</div>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js'
type='text/javascript'/>
<script
type='text/javascript'>$(document).ready(function(){$(&quot;.slidingDiv&quot;).hide();$(&quot;.show_hide&quot;).show();$(&#39;.show_hide&#39;).click(function(){$(&quot;.slidingDiv&quot;).slideToggle();});});</script>

No comments:

Post a Comment