Use getJavascript() in separate file.

----- Original Message ----- 
From: "Leo Asanov" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, July 27, 2005 5:19 AM
Subject: Static validation javascript in separate .js file


> Hi!
> 
> I've tried putting static javascipt into separate .js
> file with getStaticJavascript(), and when I load it
> with <script src=""> I get javascript error. But if I
> save the page and remove "<script..>" at the beginning
> and "</script>" at the end of static javascript code
> then it works fine. Apparently browser doesn't expect
> "<script>" tags in .js files.
> Am I doing something wrong?
> 
> Cheers,
> Leo
> 
> 
> 
> 
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to