Support Joomla!

new:moshtml-script

Usage of moshtml::script

1. Function description

This function will write a <script></script> element.

2. Function usage

2.1. Example

Example Code

echo mosHTML::script('includes/js/joomla.javascript.js');
2.2. Parameters

url : string : the url of the script you wish to include
attribs : array : the attributes that you wish to apply to the script tags

Back to the Startpage

 
new/moshtml-script.txt (1583 views) · Last modified: 2007/07/12 10:14