run_jquery
run_jquery($script_text,$ver=2); - add to the current page and call an arbitrary jQuery script
The function accepts parameters as input:
$script_text – script text.$ver – the version of jQuery that will be used. The jQuery versions themselves are located in the jQuery folder in the human katlog (you can change them if necessary)
After testing, the function returns the result of its work to the script :
result – the result of execution (starting from version 4.10.10) in older versions - just the status that was executed
false – failed to execute