Prompt User from code

M

Martyn Lawson

Hi,

I would like to prompt the User for a simple Yes/No response using JScript.
Is this possible?

I am aware of the XDocument.UI.Alert(); command, but this only displays an
OK button, I would like to display a Yes and No button and also be able to
see whcih they clicked.

Any ideas would be greatly appreciated.

cheers,
Martyn...
 
F

Franck Dauché

Hi Martyn,

You can use something like:
var response = XDocument.UI.Confirm("Here is my question", 4);

Hope that it helps.

Regards,

Franck Dauché
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top