head>
<title>Untitled Page</title>
<script language=javascript>
function submitvalue()
{
var red=document.getElementById('rd');
var val="PH";
if(rd[0].checked==true)
{val="KH";
}
window.location.href="keywordsearch.aspx?kq="+document.getElementById('txtsearch').value+"&stype="+val;
}
</script>
</head>
<body>
<input type=text name="txtsearch" runat=server />
<input type=radio name="rd" value="KH" runat=server checked=checked/>
<input type="radio" name="rd" value="PH" runat=server/>
<input type="button" name="btnsearch" value="search" onclick="submitvalue();"/>
</body>
fff
ReplyDeletettjt
ReplyDelete