Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > JavaScript and CSS

JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-11-2008, 01:04 PM
Pcm Pcm is offline
Newbie
 
Join Date: Apr 2008
Posts: 5
Rep Power: 0
Pcm is on a distinguished road
Default New to javascript Help Please.

Hi Guys!

I am new to javascript and I'm not exactly sure how to use javascript for a "add another" button on a form that after a user has filled out the form and clicks this button it will display the item they just finished entering and below that display the same form but blank where they can fill in the form again but with different inputs.

So this is what I have for the form fields for example:

Title:
Name:
Copy:

So when the add another button is clicked, it will store the previous entry but then refresh the form page with blank fields to be able to add another entry for the title, name, and copy?

I haven't a clue how to go about doing this... any help wold be greatly appreciated.


Thanks!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-11-2008, 01:54 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: New to javascript Help Please.

If you haven't done so already, put the input fields inside a "form" tag (<form>). You can clear the form's fields using a "reset" input type. To store the data, you need to learn how to program in PHP or ASP. This is a big task, but there is plenty of helpful info available at PHP Tutorial. Good luck!
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nortan Popup Blocker + JavaScript Issue twalters84 JavaScript and CSS 3 03-11-2008 04:47 AM
PHP accessing through remotely javascript from another website deny Request Services (Paid) 4 01-28-2008 08:02 AM
[Easy as Pie] Unobtrusive JavaScript Kernel Programming News 0 12-20-2007 09:07 AM
How I can execute Javascript into Perl? tony.willson Perl 3 12-14-2007 10:58 AM
Counting Files with JavaScript Matt JavaScript and CSS 5 08-01-2007 12:02 PM


All times are GMT -5. The time now is 03:22 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads