The type attribute should be used instead of the language attribute, so...

<script type="text/javascript" src="..."></script>


-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


----- Original Message -----
From: "James Taavon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 8:58 AM
Subject: RE: Calling a .js file from a CF file


> Um, I dont understand... In addition to the SRC="validate.js"
>
> like this
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="validate.js">
> <!--
>
> //-->
> </SCRIPT>
>
>
>
> -----Original Message-----
> From: Justin Scott [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 8:53 AM
> To: CF-Talk
> Subject: Re: Calling a .js file from a CF file
>
>
> NOTE: The "language" attribute for <script> is deprecated in HTML 4.  The
> "type" attribute with "text/javascript" should be used instead.
>
> -Justin Scott, Lead Developer
>  Sceiron Internet Services, Inc.
>  http://www.sceiron.com
>
>
> PS: It's been a long night/morning, so I'm nitpicky.
>
>
> ----- Original Message -----
> From: "Richard Castrios" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, May 02, 2002 8:44 AM
> Subject: RE: Calling a .js file from a CF file
>
>
> > Place the following in the .cfm template that includes the js functions
> that
> > are referencing the .js file.
> >
> > <SCRIPT Language="JavaScript" SRC="validate.js">
> > </SCRIPT>
> >
> > Rick
> >
> > -----Original Message-----
> > From: James Taavon [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 02, 2002 8:41 AM
> > To: CF-Talk
> > Subject: Calling a .js file from a CF file
> >
> >
> > I have a file with lots of validation in it. I want to remove the
> validation
> > from my .cfm file and put in a .js file. Question is, how do I call a
js
> > file from my CF file?
> >
> > James
> >
> >
> >
>
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to