Index

(javascript)

o2js_load_script

boolean o2js_load_script(string $js_url)

Adds a JS resource, as a -SCRIPT- tag in HTML -HEAD- tag.
This method, in a dynamic context, is equivalent to add a JS link in page head.


Parameters:
  1. $js_url
  2. URL to JS resource to link
Related functions:

o2js_doc_ready

o2js_exe

o2js_load_css