dmcdivitt Posted January 15, 2009 Share Posted January 15, 2009 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 More sharing options...
rhodesa Posted January 15, 2009 Share Posted January 15, 2009 try something like this: http://ajaxian.com/archives/thickbox-lightboxes-with-any-html Link to comment https://forums.phpfreaks.com/topic/140938-modal-div/#findComment-737669 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.