Login   Register  
PHP Classes
elePHPant
Icontem

File: js/js.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ghali Ahmed  >  DG  >  js/js.js  >  Download  
File: js/js.js
Role: Auxiliary data
Content type: text/plain
Description: the main js
Class: DG
Display database query results in HTML tables
Author: By
Last change:
Date: 2008-02-14 11:09
Size: 360 bytes
 

Contents

Class file image Download
function chekUnchek(chek,num,sufix)
{	
	etat 	=	(chek.checked ==true )?true:false ;
		
	for(i=0;i<num;i++){
		
		var chek=	document.getElementById(sufix+i) ;
		chek.checked=etat ;
		
	}

}
function chekUnchekByLine(idchek)
{	
	
	var chek=document.getElementById(idchek)
	var etat=	(chek.checked ==true )?false:true ;
	chek.checked=etat ;	

}