Changed 'waits the user' to 'waits for the user'
This commit is contained in:
parent
50483c319c
commit
64e6233f1a
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ We covered 3 browser-specific functions to interact with the visitor:
|
||||||
: shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers except Safari return `null`.
|
: shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers except Safari return `null`.
|
||||||
|
|
||||||
`confirm`
|
`confirm`
|
||||||
: shows a message and waits the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`.
|
: shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`.
|
||||||
|
|
||||||
All these methods are modal: they pause the script execution and don't allow the visitor to interact with the rest of the page until the message has been dismissed.
|
All these methods are modal: they pause the script execution and don't allow the visitor to interact with the rest of the page until the message has been dismissed.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue