Thursday, August 16, 2012

How to Remove Div with JQuery





1. Open the JavaScript file with a text editor.
2. Navigate to the section of JavaScript code where the removal function is to be added.

3. Type the following on a new line:'$('div').remove('.divclassname');'In place of divclassname, insert the name of the div class name that will be removed. For example, if the div class name is 'myclass,' then the line would look like this:'$('div').remove('.myclass');'

adsense tips Copyright © 2011 | Template created by O Pregador | Powered by Blogger