1 sonics Jun 29, 2006 19:54
3 yabba Jun 29, 2006 23:08
w3.org wrote:
language = cdata [CI]
Deprecated. This attribute specifies the scripting language of the contents of this element. Its value is an identifier for the language, but since these identifiers are not standard, this attribute has been deprecated in favor of type.
¥
4 balupton Jun 29, 2006 23:17
Thanks for that ¥åßßå ;)
So yeh, a valid javascript script tag looks like:
<script type="text/javascript">
// your code
</script>
5 yabba Jun 29, 2006 23:54
No prob ;)
¥
The whole skin disapeared :O
Make sure you are not adding the html within a php tag....
And
Is the correct way of doing it, as there are many different languages that scripts could be.
Hope this helps.