Login   Register  
PHP Classes
elePHPant
Icontem

File: js.script.inc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vick  >  PHP Search  >  js.script.inc  >  Download  
File: js.script.inc
Role: Auxiliary data
Content type: text/plain
Description: js
Class: PHP Search
Search for data MySQL tables and show the results
Author: By
Last change:
Date: 2005-05-28 07:06
Size: 340 bytes
 

Contents

Class file image Download
<SCRIPT LANGUAGE="JavaScript">
function rad(a){
	var b = a.rech.value;
	var c = "http://www.google.ca/search?q=" +b;
	var option = -1;
	for (i=0; i<a.optrecherche.length; i++) {
	if (a.optrecherche[i].checked) 
	option = i;
		}
	if( option==1){
		window.open(c ,'_blank');
		 a.rech.value="";
		 return false;
		}
}
</SCRIPT>