2

Does anyone know how can I create a prompt input dialog with dropdown box in javascript?

Example:

alt text

3 Answers 3

4

I don't think this is possible, you're probably going to have to use a modal box of some sort. Check out jQuery UI's modal box at http://jqueryui.com/demos/dialog/

Sign up to request clarification or add additional context in comments.

Comments

1

Ya, you're probably going to have to settle for a modal... although you could style it to look pretty much the same. Although it would be limited to being within the parent window. But if you're ok with that, use a modal (jQuery's or whatever) and then just style it to look like what you're going for.

Comments

1

Unfortunately you can not have an input dialog box like that. You will have to settle for a modal dialog box which can use styling.
Have a look at these example:
http://dev.iceburg.net/jquery/jqModal/#examples

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.