auto appear: make data appear automatically in another field

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

    auto appear: make data appear automatically in another field

    i had a problem... how can i auto detect that bold n italic field..when i enter the matric no, then the name will auto appear... i want to make this field using less button.. thanks


    [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>

    </tr>
    </table>[/HTML]
    Last edited by acoder; Jul 11 '08, 09:22 AM. Reason: Added [code] tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Where would you be storing the data that matches the Matric no. to the name? You can store in an array which is available on page load. You could keep it on the server and make an Ajax request instead. Which one would you rather do?

    Ps. please use code tags when posting code. Thanks!

    Comment

    Working...