HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
adding text box with button click
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
rmstevens



Joined: 20 Sep 2006
Posts: 1

PostPosted: Wed Sep 20, 2006 7:51 am     adding text box with button click Reply with quote

I am looking to build a form that has text boxes for input of listed items. I would like to include a button or someway that when the field is populated, another text field appears for the next entry preferably by the click of a button.
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Thu Sep 21, 2006 5:03 am     Reply with quote

Are you using Server-Side Scripting?
If so your best option would be to submit the form and have a function to create a new textfield if that button was pressed.


If you are just using Javascript then you may want to look into the DOM Create methods.

http://www.dustindiaz.com/add-and-remove-html-elements-dynamically-with-javascript/
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial