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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.