.. _fheadjs: ####### head_js ####### :doc:`Head-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/head_js.rst .. php:function:: head_js(bool $includeDefaults = 1) Return the JavaScript tags that will be used on the page. This should generally be used with echo to print the scripts in the pagehead. :param bool $includeDefaults: Whether the default javascripts should be included. Defaults to true. :returns: string ***** Usage ***** .. include:: /Reference/libraries/globals/usage/head_js.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/head_js.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/head_js.rst