Reply to Re: Text in textfield

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация