Regular visitors to Digiguide.tv will notice that you now require a subscription to use some of the features.
However, you can give the FREE 7 day trial version of Digiguide.tv Premium a try. Build up your profile with programmes that you like, personalise your grid and set some reminders. Remember, to get a year's worth of personalised TV content for less than 1p per day simply subscribe to Digiguide Premium
The message you want the user to see. This can be simple HTML and can be multi-line
String strDefault
The default value if the user simply clicks OK.
Returns
Returns the value the user entered, or strDefault if the user just clicked OK, or null if the user clicked cancel.
Examples
Below is a simple script that shows how to add a new command, bind it to a keyboard shortuct and then when the command is executed prompt the user for some input.
function onPromptUpdate( up ) { up.enable( true ); } function onPrompt( up ) { var n = prompt( "<b>Please enter a thing</b><br><i>Of course</i> by 'thing' I mean something useful and not something <font color='red'>useless</font>.", "default" ); if( n != null ) { alert( "You entered: " + n ); } else { alert( "You hit cancel" ); } }