Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-09-2007, 06:56 PM   PM User | #1
alexjungle
New to the CF scene

 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
alexjungle is an unknown quantity at this point
Simple Form Submit to populate HTML Table

Hi,

I'm just looking for a simple solution to populate a table. What I want is to post a single field (name) with a submit button. When the user enters his name and hits sumbit - it will populate a table on the same html page. Is there a way to do this using just Javascript or should it be done with PHP?

Thanks for the help
AlexJungle
alexjungle is offline   Reply With Quote
Old 04-09-2007, 08:07 PM   PM User | #2
nikkiH
Senior Coder

 
nikkiH's Avatar
 
Join Date: Jun 2005
Location: Near Chicago, IL, USA
Posts: 1,973
Thanks: 1
Thanked 32 Times in 31 Posts
nikkiH is on a distinguished road
That depends on how you get the data that does the populating.
You may even want a combo of PHP and Javascript to dynamically create the table (AJAX).
__________________

If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit
http://www.kaelisspace.com/
nikkiH is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 07:31 AM.


Advertisement
Log in to turn off these ads.