|
Posted by Stan McCann on 11/15/06 18:44
"Willy" <w.annaert@pandora.be> wrote in news:2rz6h.185589$4D3.2843681
@phobos.telenet-ops.be:
>
> Example
> form>
> <input name=userInput type=text value="something">
> </form>
> Could value'something' ibe put in a variable via avascript?
> Sorry for previous message in dutch
Yes, or server side. I use PHP and do the folloeing quite regularly.
Note the quotes and required block element.
<form id="form_id">
<legend>Something</legend><fieldset id="something">
<input name="userInput" type="text"
value="<?php echo $variable ?>">
</fieldset>
</form>
--
Stan McCann, RETIRED!!, "Uncle Pirate" http://stanmccann.us/
Implementing negative score for googlegroup postings, see
http://blinkynet.net/comp/uip5.html
A zest for living must include a willingness to die. - R.A. Heinlein
Navigation:
[Reply to this message]
|