By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,473 Members | 1,278 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,473 IT Pros & Developers. It's quick & easy.

Create Modal Window

100+
P: 228
Hi,

I need to create a modal window which would allow visitors to select from select box. From parent window, user selects a link with an id of an item, which must be passed to the Modal Javascript. The javascript accepts the item id and holds it for further processing. my main question is how i can create the modal window with javascript?
Feb 4 '09 #1
Share this Question
Share on Google+
3 Replies


Dormilich
Expert Mod 5K+
P: 8,639
is there anything else in the modal window than the select box? if it's the only thing in that page, why not creating the dropdown box in the parent window....
Feb 4 '09 #2

100+
P: 228
nothing. but the select box contains data from database retreived thru php?
Feb 4 '09 #3

Dormilich
Expert Mod 5K+
P: 8,639
you could query your database throuh AJAX too. in my opinion there isn't really a need for a popup.
Feb 4 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.