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]
|