Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
did onToggle event automatically fires if the div tag is expanded or collapsed?
Posted

1 solution

did onToggle event automatically fires if the div tag is expanded or collapsed?
No. You need to bind the event if you want it to fire.

You cannot 'expand' or 'collapse' as a toggle without defining that event. Other way is to play with div display property which can be seen as toggling but cannot be technically assumed as toggle.
 
Share this answer
 
Comments
Vignesh.J 30-Jan-13 11:35am    
Can you please post the code,
Sandeep Mewara 30-Jan-13 11:40am    
There is no code for your question and my answer.

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