Reply to Re: dynamically creating a input box, can this be done?

Your name:

Reply:


Posted by countach on 07/14/05 16:52

En las nuevas, el jj escribiσ:
> hello everyone,
>
> Im going to try to simplify my problem as much as i can:
>
> Lets say I have a single form element (an input box).
> and a button next to it. I would like this button when pressed to
> create a second input box and second button right below that one
> (exactly the same button and input box). Then if i were to press
> that second button, a third row of input box and button would be
> created below, and so on and so on.
>
> Can any one shed some light for me how i would go about doing this?

This is Javascript, not PHP.

Please check out Javascript-related sites and focus on DOM (Document Object
Model) functions. Yes. It can be done.

This is a good place to start:
http://www.w3schools.com/js/js_obj_htmldom.asp

[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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация