Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

runJavaScriptPrompt()

Displays a JavaScript prompt on the screen

Synopsis:

#include <GfWindow.h>

virtual bool runJavaScriptPrompt( const char* message,
                                  const char* value )

Description:

Displays a JavaScript prompt on the screen, given a message and a value.

Arguments:

message
The message to display at the prompt.
value
The value to display at the prompt.

Returns:

Returns True if the user clicks Yes, otherwise False.

See also:

runJavaScriptAlert(), runJavaScriptConfirm()