script_header

  • 2 yrs ago
  • 176

Description

Insert script tag in header of the page. If src is defined, the text is omitted, otherwise render text inside script tag.


Schema

Child nodes are not allowed.


Attributes

src - path to the javascript file.


Example

<script_header src="//code.jquery.com/jquery-1.11.0.min.js"/> 

Inline Example 

<script_header>
    <![CDATA[
        alert('hello world');
    ]]>
</script_header>
Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 2 yrs agoLast active
  • 176Views
  • 1 Following