get input value with jQeury
<input type="text" name="name" value="Test" id="inputID" />
<input type="button" name="button" value="get Input value" id="getVal" />
<script type="text/javascript">
$('#getVal').click(function() {
var inputVal = $('#inputID').val();
aler(inputVal);
});
</script>