External javascript reference

This will link to an external Javascript file. You need the charset attribute if your external file is using international symbols (e.g. £ or $). Also, don’t use inline regular expressions (var rex = /foo/gi;) instead use proper object definitions (var rex = new RegExp(“foo”, “gi”);)

<script charset=”ISO-8859-1″ type=”text/javascript” xsrc=”/money.js” mce_src=”/money.js”></script>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s