Hide/Show Toggle Jquery -
my paragraphs need hidden @ first , not know how hide when page loads.
i using toggle jquery expand/hide paragraph. how can achieve this?
$(document).ready(function () { $("#toggle").click(function () { $("#expand").toggle("slow"); }); });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <p id="expand">small or large business no further office cleaning company in raleigh. feel confident commercial cleaning services job done right. call or contact today quote.</p> <button id="toggle">hide/expand</button>
hide css:
p#expand { display:none; }
Comments
Post a Comment