Click to See Complete Forum and Search --> : objects in JavaSctip


dalsadri
02-03-2003, 03:30 PM
Hi, I have a 4 fiels, defaultjs.htm and Empresa.j, Facade.js, Directorio.js. All the js files are objects, but when a need to run my program always show the error Facade or Directorio is undefined.

On my defaultjs.htm I include the js files

<script language="javascript" src="js/Empresa.js"></script>
<script language="javascript" src="js/directorio.js"></script>
<script language="javascript" src="js/facade.js"></script>

When I take all the code and compact and unique file this run with no problem.

Something know wath is the problem?

khalidali63
02-03-2003, 06:30 PM
Make sure there is no varaibles in all files that could cause conflict with each other