...

View Full Version : "add" button adds new text boxes, help



rycaga
01-08-2007, 01:59 PM
hi, i am new to javascript, and have 1 problem

i need write such script:

i have one inputbox, and user can add some string to it, but i need to make button called "add" which will add one more inputbox, if you want one more box, and of course add ids of these inputboxes to some array.

maybe you have some ideas. thx

p.s. sry for my poor english
Edit/Delete Message

A1ien51
01-08-2007, 03:30 PM
look into

document.createElement()
and
appendChild()

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum