What is a prompt box?

View previous topic View next topic Go down

What is a prompt box?

Post by Designpluz on Sat Oct 21, 2017 12:27 pm

What is a prompt box?
avatar
Designpluz
platinum
platinum

Posts : 1224
Earned : 5598
Credit : 0
Join date : 2017-01-04

View user profile http://www.designpluz.com.au/

Back to top Go down

Re: What is a prompt box?

Post by rahulsharmag on Thu Nov 09, 2017 2:31 pm

The prompt dialog box is very useful when you want to pop-up a text box to get user input. OK button, text entered in the input field is returned. If the user clicks OK without entering any text, an empty string is returned. If the user clicks the Cancel button, this function returns null.
Note: When a prompt box pops up, OK and Cancel. If the user clicks the OK button, the window method prompt() will return the entered value from the text box.

rahulsharmag
registered member
registered member

Posts : 10
Earned : 20
Credit : 0
Join date : 2016-11-19

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum