/ Published in: jQuery
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 if ($("#id").length) { //it does! }
Comments
                    Subscribe to comments
                
                