Reply to Re: How to exchange data between forms in one document with pure HTML?

Your name:

Reply:


Posted by Jeff on 01/07/08 18:21

Neredbojias wrote:
> Well bust mah britches and call me cheeky, on Sun, 06 Jan 2008 20:28:44 GMT
> Markus Stein scribed:
>
>> Is there a possibility to exchange data between
>> forms in one html document with pure html (no PHP,
>> no server variables etc.)?
>>
>> Example:
>>
>> <html>
>> <head>
>> </head>
>> <body>
>>
>> <!-- formular1: -->
>> <form>
>> <input type="text" name="inputformular1"/>
>> <input type="submit" name="sendformular1"/>
>> </form>
>>
>> <!-- formular2: -->
>> <form>
>> <input type="text" name="inputformular2"/>
>> <input type="submit" name="sendformular2"/>
>> </form>
>>
>> </body>
>> </html>
>>
>> I want that if I click on the sendformular1 button
>> the text in field inputformular1 appears in inputformular2
>> and vice versa.
>>
>> Is it possible with pure html?
>
> No, but you could do something with javascript. Btw, forms need an
> "action" attribute.

I believe that if you leave out action, most browsers will point back
at the page URL. Not good practice though...and that certainly wouldn't
help if it wasn't what you wanted!

Jeff
>

[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

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