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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.