 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
maruuma
Joined: 20 Oct 2008
Posts: 4
|
| Posted: Tue Nov 18, 2008 7:11 am need javascript |
|
|
Hi everyone,
I have this code and I need java script for the second options "directory"in radio button which take the value that I send by search field and produce the results according to the value
<html dir="ltr">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>search</title>
<link rel="stylesheet" type="text/css" href="css/inframe.css"/>
</head>
<body>
<div align="center">
<br>
<br>
<form action="http://www.google.com/search" method="get" target="searchresults" style="margin:0 0 0 0" onSubmit="window.open('','searchresults','resizable=1,scrollbars=1,width=700,height=600')">
<table style="font: bold 11px Verdana;" width="270" bgcolor="#EADECC" cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap bgcolor="#FFFFFF"><a href="http://www.google.com/"></a></td>
<td nowrap bgcolor="#FFFFFF">
<input type="text" name="q" size="24" maxlength="255" value="">
<input type="submit" name="btnG" value="Search" style="font-family: Verdana; font-size: 10pt; color: #663300; ">
<p>
<input type="radio" name="sitesearch" value="www.qu.edu.qa"> Page in QU
<input type="radio" name="sitesearch" value="www.qu.edu.qa/directory" > Directory
<input type="radio" name="sitesearch" value="www.google.com" > WWW
</td>
</tr>
</table>
<form name="search" action="http://www.google.com/search" method="get" onSubmit="sitesearch(this)">
</body>
</html> |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|