/ Published in: JavaScript
                    
                                        
Testing if toggle has happened.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
var visible = $(this).next('div.info').toggle().is("visible");
if(visible){
alert("Hey! I've just showed up here!");
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                