Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

modal window - passing in parameter

Hi,

i need a button on a webpage that when you click on shows a modal window (similar to light box) and displays a page with a form on it
however, i need the parent to pass in a parameter

so the parent would have a button called "get quote" which needs to have a value of the product name
that would load a modal window with a quote form, but automatically populate a text box with the product name

Ideally I need a working example of a pop up window that does this
thanks
0
paulCardiff
Asked:
paulCardiff
1 Solution
 
GwynforWebCommented:
Are you sure you want to use a modal window. Their implementation is browser specific and some browsers don't allow them.

see  http://javascript.about.com/library/blmodal.htm

( from Rhiwbina :-) )
0
 
paulCardiffAuthor Commented:
thanks!

are there any alternatives that are cross browser compatible?

nice place you're from :o)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now