Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

document.write from inputs

Status
Not open for further replies.

browniejbb

Technical User
Oct 21, 2002
5
DE
hi,
im looking to have an input type="text" for visitors to be able to write down a question. I would then like to have a following submit button which would call a function to write the question, on the same page, underneath the input button.
after time then, im looking for there to be a list of questions written underneath the input button on that same page for people to see. any ideas if this is even possible?!
thanks to all.
 
It is possible, and I'd suggest using a database. It would be very simple to make it add the value from the text box and then list all the questions in the table. It is possible with jsp, but I'd recommend php and mysql if you can use those.

Rick
 
okay that sounds like good advice, thanks :)
i dont know how to make databases but ill take a look at some teach-yourself sites i know.
is there a way, however, of naming the text that has been written in the input and then using document.write to write that text?
thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top