Jump to content

modal div


dmcdivitt

Recommended Posts

I have a form with 75 lines, each with a person textbox. There are 300 people to choose from. It would be dumb to put a dropdown on each line and populate the dropdown with all the names. A good way would be to use a "pick" button, showModalDialog, and put a return value into the text box. But each use of the modal popup window would require sending the 300 names to the client again. The best approach would be using a hidden div. Upon clicking the "pick" button the div would be positioned near the button, revealed, and a value written in the textbox when done. How can I make the div modal? I'd like to prevent scrolling, too, but that would require trapping the scroll event which isn't worth it. Thanks

Link to comment
https://forums.phpfreaks.com/topic/140938-modal-div/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.