Hello
Here is my problem:
I have a function that needs to return a value. This value must be from a prompt. How to solve this problem, not calling two times prompt() prompt?
I want just a prompt with 2 textboxes (not for authentificatio n).
I tried also with jQuery modal prompts from here http://www.designlabel blog.com/2009/03/20-ways-to-create-javascript-modal.html but i don't know how to make my function to wait for their submit response.
Thanks in advance!
Here is my problem:
I have a function that needs to return a value. This value must be from a prompt. How to solve this problem, not calling two times prompt() prompt?
I want just a prompt with 2 textboxes (not for authentificatio n).
I tried also with jQuery modal prompts from here http://www.designlabel blog.com/2009/03/20-ways-to-create-javascript-modal.html but i don't know how to make my function to wait for their submit response.
Thanks in advance!
Comment