|
-
Oct 26th, 2001, 03:52 AM
#1
Thread Starter
Hyperactive Member
language=javascript deprecation
I heard "<script language="javascript"></script> is deprecated into:
<script type="text/javascript">
<![CDATA[
]]></script>
How does this affect functions called from tagevents like:
<div onclick="dosomeThing();" />. It cant mean that this must be converted to <div onclick="javascript:<![CDATA[dosomeThing();]]>" /> does it ?
-
Oct 26th, 2001, 03:38 PM
#2
PowerPoster
when it is deprecated into what? i don't know what you are talking about.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 29th, 2001, 01:02 PM
#3
Black Cat
I think the CDATA is used to denote the content is not XML (based) and since the onclick attributes uses quotes, you don't need it there.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 30th, 2001, 03:51 AM
#4
Thread Starter
Hyperactive Member
Ah, that sounds logical.
I also find it strange that the normal scripts don't work when i include the "<![CDATA[" tag.
-
Oct 30th, 2001, 12:22 PM
#5
Black Cat
You might have to explicitly state what version of html / xhtml the page is at the top in order to get the browser to run that.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|