auto detect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • azura
    New Member
    • Jul 2008
    • 47

    auto detect

    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"><st rong>Matric No</strong> </td>
    <td width="7"><div align="center"> :</div></td>
    <td width="300"><in put name="matric" type="text" id="matric" value="<?php echo $row_viewer['matric_no']; ?>" size="15" maxlength="15" /></td>
    </tr>
    <tr>
    <td height="29" bgcolor="#FFFFF F"><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
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

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

    Comment

    Working...