views:

44

answers:

2

dear all..i have a textfield

<tr>
<td>
<td><input type="text" id="model_name"></td>
</td>
</tr>

and a cell

<tr>
<td><div id="value">//i want data show here after fill textfield</div>
</td>
</tr>

beside that, i've a table "settingdata" in database it consist of 2 field:itemdata and remark.. itemdata's value are "UD" and remark's value are "FM=87.5-108.0MHZ"...

what must i do if i want after type model name "car01UD" at textfield inside

<div id="value"></div>

can show "FM=87.5-108.0mhz"...

+1  A: 

if you want "0103" + value of itemdata then do following

<input type="text" id="mod" value="0103<?PHP echo $itemdata ?>">
Salil
i've been change 0103 into car01UD..that's a data for input inside textfield...i need at 2 character can control the cell to take FM=... from database
klox
A: 

Looks like you are trying to do basic Ajax functionality. Consider reading some Ajax tutorials to get an idea how to do this.

Jeff Davis