Login   Register  
PHP Classes
elePHPant
Icontem

File: js/edit.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of anoop singh  >  CDN CMS  >  js/edit.js  >  Download  
File: js/edit.js
Role: Auxiliary data
Content type: text/plain
Description: edit
Class: CDN CMS
Manage content stored in a MySQL database
Author: By
Last change:
Date: 4 years ago
Size: 306 bytes
 

Contents

Class file image 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();