Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Importing classes


Message #1 by "Adrián" <arendon@e...> on Wed, 27 Dec 2000 00:07:04 -0000
Hello!

I was wondering if someone could help me:

I´m working with javascript and i added the folowing lines
<script language="javascript">
<!--
import SomeClass;
function Muestra_Intranet(){
	//here goes code
}
</script>

when i try to run the file, i get an error in the line where i import 
SomeClass. How can i use methods from classes that reside on another file?

thanks in advance!

         Adrián Rendón.

--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems.  
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com

  Return to Index