Danial Lee Danial Lee - 1 year ago 100
jQuery Question

jQuery not working with code here


<a href="javascript:void(0);" title="Show and Hide" id="_showhide">
<span id="textsh">hide</span>
<div id="contentsShowHide" style="display:none;">
Contents here


function headerShowHide(){

<div id="contentsShowHide">
is not showing or hiding, and the text is not changing for
<span id="textsh">
. What am I missing here?

Answer Source

try this demo

}, function(){
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download