468,272 Members | 2,001 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

drop down

<script type="text/javascript" language="JavaScript">
//<!--
function jump(fe){
var opt_key = fe.selectedIndex;
var uri_val = fe.options[opt_key].value;
window.open(uri_val,'_top');
return true;
}
//-->
</script>
<!-- SiteSearch Google -->

<form name="frm" method ="post" action="test11.php">

<TABLE cellSpacing=0 bgColor=#ffffff border=0>
<TBODY>
<TR vAlign=top>
<TD>
<p style="margin-top: 0; margin-bottom: 0"><A href="http://www.google.com/search">
<img src="http://www.google.com/logos/Logo_25wht.gif"
border="0" alt="Google"></img></a> </TD>
<td valign="middle">

</td>
<TD>
<p style="margin-top: 0; margin-bottom: 0"><INPUT maxLength=255 size=31 name=q>
<select name="txtAccArea" class="cmb" style="width:'70px';" onchange="return jump(this)" >
<option value='test11.php?id=1' >Google</option>
<option value='test11.php?id=2' >MSN </option>
<option value='test11.php?id=3' >Yahoo</option>
<option value='test11.php?id=4' >Excite </option>


</select>

<INPUT type=submit value="Search" name=sa align="middle">
<INPUT type=hidden value=S:http://www.gcu.edu.pk;AH:left;LH:75;L:http://www.gcu.edu.pk/images/Theme.jpg;LW:720;
AWFID:7992535704be74a3; name=cof>
</TD></TR></TBODY></TABLE>


</form>
when i select any option it doesn't change .like if i select msn it show msn value but in drop down it show google first option.
please tell me where i am wrong
Nov 8 '06 #1
0 936

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Dan | last post: by
2 posts views Thread by Yoshitha | last post: by
1 post views Thread by pmelanso | last post: by
7 posts views Thread by callawayglfr | last post: by
8 posts views Thread by Ed Dror | last post: by
4 posts views Thread by TycoonUK | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.