public static string javascriptInclude ([array $parameters], [boolean $local])
Builds a SCRIPT[type=”javascript”] tag
echo Phalcon\Tag::javascriptInclude("http://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js", false); echo Phalcon\Tag::javascriptInclude("javascript/jquery.js");
Volt syntax:
{{ javascript_include("http://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js", false) }} {{ javascript_include("javascript/jquery.js") }}
Please login to continue.