call_java_script
call_java_script ($func,$parametrs); - call a function from JS that already exists on the page
The function accepts parameters as input:
$func – name of an existing function$parametrs – parameters to pass to it (parameters are separated by";;;", the order of transmission is taken from the function itself)
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed to execute