View Single Post
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Using Javascript code in ASP.NET

 
0
  #2
Mar 22nd, 2005
Put this line in mainpage.aspx.

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <script language="javascript" src="menu.js"></script>

You can't compile javascript to a dll, dll's are native code. Javascript is a scripting language and scripting languages are parsed and JIT compiled on the fly by an interpreter. In your case the interpreter is the Virtual Machine running in the browser or the Sun Java Runtime that is installed, depending on how the client is set up and what OS they are using.
Reply With Quote