Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eModal.prompt return value #100

Open
kidsonk opened this issue Sep 21, 2022 · 1 comment
Open

eModal.prompt return value #100

kidsonk opened this issue Sep 21, 2022 · 1 comment

Comments

@kidsonk
Copy link

kidsonk commented Sep 21, 2022

Using eModal.prompt
Am I being stupid?? I cannot see any way to get the value that is typed into the prompt box. it has no id so I don't know how to reference it. Any help very much appreciated.
eModal.prompt(options)
.then(
function () { alert("?? PROMPT VALUE ???"); },
function () { alert(2); }
);

@kidsonk
Copy link
Author

kidsonk commented Sep 26, 2022

My apologies to bother you again but I cannot find any reference to the text-box value in the document at http://saribe.github.io/eModal/#confirm
Within the callback of eModal.prompt(options) .then(callback, callbackCancel); how do I get the value that was typed into the textbox?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant