Same thing i want to do in php ..
suppose i hve below form say test1.php...
Code: Select all
<form name="test" method="post" action="">
<input type="text" name"t1" id="t1" value="">
<select name="s1">
<option value="cricket">Cricket</option>
<option value="football">Football</option>
</select>
<input type="submit" name"sub1">
</form>
now i want to get the values of textfield & combo box in the same page i.e. test1.php, without submitting the form...