screen
screen copied to clipboard
Error while using jQuery
I got this error when I tried to Inject jQuery URL:
PHP Fatal error: Uncaught Screen\Exceptions\InvalidUrlException: The url 'http://' is not valid. in ...Url.php:19
Here is my Code:
$jQueryUrl = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js'; $screen->includeJs(new \Screen\Injection\Url($jQUeryUrl));