execute_prompt
execute_prompt($caption,$text="",$btn_text="OK",$exactly=true); - this function is used for processing the data input dialog in JS.
The function accepts parameters as input:
$caption – text (title) of the input window.
$text – text to enter as a response.
$btn_text – text of the OK button (along with accelerators).
$exactly – exact match of the window text.
After processing, the function returns the result of its work to the script :
true – processing was successful.
false – errors occurred.