By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,483 Members | 1,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,483 IT Pros & Developers. It's quick & easy.

auto appear: make data appear automatically in another field

P: 47
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">
<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>
<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>

Jul 11 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
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!
Jul 11 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.