Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

modal window - passing in parameter

Posted on 2009-07-13
2
Medium Priority
?
774 Views
Last Modified: 2012-05-07
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
Comment
Question by:paulCardiff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 31

Accepted Solution

by:
GwynforWeb earned 1500 total points
ID: 24840652
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
 

Author Comment

by:paulCardiff
ID: 24840787
thanks!

are there any alternatives that are cross browser compatible?

nice place you're from :o)
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question