@prompt works great on notes client. Is there anything similar to @prompt that works on the web.
thanks,
J
@prompt works great on notes client. Is there anything similar to @prompt that works on the web.
thanks,
J
Subject: @prompt
Only using JavaScript. You can use:
alert(“msg”)
or
myVar = prompt(“Title”, “defaultValue”);
hth,
-wmoze
Subject: @prompt
There are a bunch of things you’ll need on the web to replace @Prompt.
alert(“message”) replaces @Prompt([OK])
confirm(“Ask a yes/no question?”) replaces @Prompt([YESNO]) and returns a Boolean
prompt(“Please put something here”,“default value string”) replaces @Prompt([OKCANCELEDIT])
Anything more sophisticated ([OKCANCELLIST], etc.) will require you to create a little web page that looks like the dialog you want to use, then open it with window.open() or .showModalDialog (for IE-only intranets).