Click here to Skip to main content
15,912,021 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working toggle class .Actually I want to toggle something (a div ) when i click on header button (forth button) ?It is not working.It is not toggling ? why? http://jsfiddle.net/ravi1989/3xbGW/11/I want to toggle this contend..? why it is not toggling?

<div class="ui-grid-c" id="searchbar" style="display: none" class="searchContend_h">
<input name="text-12" id="text-12" value="" type="text" autocorrect="off" class="searchbox"> <a href="#" data-role="button" data-corners="false" data-inline="true" class="search">Search</a>
<a href="#" data-role="button" data-corners="false" data-inline="true" id="next" class="searchNext" disabled>Next</a>
<a href="#" data-role="button" data-corners="false" data-inline="true" id="prev" class="searchPrev" disabled>Previous</a>

</div>
Posted
Updated 2-Aug-13 22:47pm
v2
Comments
Sergey Alexandrovich Kryukov 3-Aug-13 22:48pm    
This button is not visible on your code. You probably screwed up formatting with your CSS (or whatever else) pretty well.
I can tell you one thing now: toggling of the class does work, but the problem may be the effect of it which you cannot directly observe because of bad styles.
To make sure that toggling occurs, could you use the debugger?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900