<script>
function getValue()
{
alert(cond.value);
window.open("1.htm?cond="+cond.value);

}
</script>
<input type="text" name="cond" value="" id="Text1"><a href="javascript:getValue();">x</a>