Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
User chooses amount of text boxes
Old 05-19-2009, 12:12 PM User chooses amount of text boxes
Average Talker

Posts: 16
Trades: 0
Hi all.

I am trying to make a form where the user enters the number of entries they wish to make into a textbox and that amount of new textboxes would automatically appear below. Any suggestions?

Thanks,
Dan
superdan_35 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-19-2009, 01:07 PM Re: User chooses amount of text boxes
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
In the onchange event of a select box, use document.createElement to create as many inputs of type text as selected, then insert them into the document where you need them.

If I have time later, I'll show you some sample code that does this. I have a lot of work to get done now.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to User chooses amount of text boxes
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09778 seconds with 12 queries