Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 26th, 2003, 12:38 AM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting the submitted fields in a form

I am trying to display a links bar which contains the links that the user has visited. I am using Javascript here. I have a function called addLink which takes name and the URL as parameters. Every page that is visited by the user would add itself to the links bar by calling addLink.

The problem that I am facing is to find out the URL by which the page is getting loaded. In our system, few pages use GET and few other pages use POST. In case of a page loaded by using GET, document.location.href helps me to get the URL. But I don't know how I would access the parameters that are submitted by form submission. In fact, we don't have any submit button in our pages. We just have links which are calling some Javascript function, which then submits the form. I think that we can capture the form parameters and create an URL. But I am not sure whether this is the right way to do it, and whether it would work?

Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Fields Terry J Daichendt JSP Basics 2 September 15th, 2008 05:53 PM
How do I clear a form after it has been submitted? u2clone ASP.NET 2.0 Basics 7 February 12th, 2008 04:00 PM
copy fields from Form to new form - openargs justabeginner Access VBA 1 February 4th, 2007 01:28 PM
form fields value retaining Dheeraj BOOK: Beginning JavaServer Pages 0 May 23rd, 2006 01:45 AM
Disabling Form Fields MooMan65 HTML Code Clinic 3 November 4th, 2004 07:07 PM



All times are GMT -4. The time now is 01:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.