Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Passing parameters to a new page


  • From: hassan at webtuitive.com (Hassan Schroeder)
  • Subject: [Javascript] Passing parameters to a new page
  • Date: Wed May 16 10:43:15 2007

Del Wegener wrote:

> On my algebra website I have a button labed QUIZ at several location on
> each
> of many pages.  Each of these locations has a NAME.  The intent is that
> clicking on this button takes me to a new page which presents an
> interactive
> quiz on the material associated with the location of the particular button
> that was clicked.
> 
> Is there any way for me to pass NAME to the new page ? 

Is this "button" an actual input or button element in a form? If so,
and clicking the button submits the form, you just need to have the
NAME as a hidden input in the form.

OTOH, if it's a pseudo-button -- link masquerading as a button --
you need to append the NAME as a query string on the link.

(BTW, it's good mailing list ettiquette to start a new thread for a
new topic, instead of replying to an ancient unrelated email...)

FWIW,
-- 
Hassan Schroeder ----------------------------- hassan@xxxxxxxxxxxxxx
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.