Please Visit: http://ift.tt/1ajReyV
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jQX4Cy
via LifeLong Community
Removing an element with the plain JavaScript remove() method
http://ift.tt/1jQX4Co
The bulletproof way
var elem = document.getElementById("myDiv");
elem.parentNode.removeChild(elem);
The jQuery way
$('#myDiv').remove();
The new way. FTW.
var elem = document.getElementById("myDiv");
elem.remove();
http://ift.tt/1jQX4Co
The bulletproof way
var elem = document.getElementById("myDiv");
elem.parentNode.removeChild(elem);
The jQuery way
$('#myDiv').remove();
The new way. FTW.
var elem = document.getElementById("myDiv");
elem.remove();
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jQX4Cy
via LifeLong Community
No comments:
Post a Comment