Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
Classes of anoop singh | > | CDN CMS | > | js/edit.js | > | Download | ||
|
Download |
function editLink() { for(i=0;i<(p=document.getElementsByTagName('div')).length;i++) { if(p[i].type=='text') { str=p[i].id.split("_"); //str[0]=TXT; [1]=DEF; [2]=div|p if("L" ==str[0] || "M" ==str[0] ||"R" ==str[0] ) { alert(p[i].id); } } } } editLink(); |