Connecting Tech Pros Worldwide Help | Site Map

auto detect

Member
 
Join Date: Jul 2008
Posts: 47
#1: Jul 11 '08
how can i get this textfield auto detect?? because i try not to using view name button... i want when i enterd this matric no., the student name will appear automatically when i insert the matric no..


[HTML]<table width="416" height="70" border="1">
<tr>
<td width="87" height="33"><strong>Matric No</strong> </td>
<td width="7"><div align="center">:</div></td>
<td width="300"><input name="matric" type="text" id="matric" value="<?php echo $row_viewer['matric_no']; ?>" size="15" maxlength="15" /></td>
</tr>
<tr>
<td height="29" bgcolor="#FFFFFF"><strong>Name</strong></td>
<td><div align="center">:</div></td>
<td><input name="name" type="text" id="name" value="<?php echo $row_viewer['name']; ?>" size="50" maxlength="50" /></td><--- this one i want to be auto detect

</tr>
</table>[/HTML]
hsriat's Avatar
Expert
 
Join Date: Jan 2008
Location: Bath, UK
Posts: 1,609
#2: Jul 11 '08

re: auto detect


I think you need to use Ajax. Have a look at this example.
Reply