in him. Are there any methods...">

Pre-filling a text form

I have

<form method=post> 

and i have

<input type=text name=honnan  value=""> 

in him.

Are there any methods to pre-populate the VALUE part?

It is easy when there is only 1 thing to fill in VALUE, but I need a few things to pre-fill for VALUE.

eg .:

ABC
DEF
GHI

So I need to be able to have multiple values ​​in VALUE pre-populated, just as if the browser were caching a once-written value.
A

<select id="old_sl" tabindex="0" name="sl">
<option SELECTED value="auto">ABC</option>
etc.

is not a solution because I want the user to be able to write custom values ​​in VALUES text form.

+3
source share
1 answer

JavaScript . JavaScript (, , , ), , , , - (, ABC, DEF, GHI ..), , . .

autocomplete. JavaScript, jQuery Prototype/Scriptaculous .

+4

All Articles