943,682 Members | Top Members by Rank

Ad:
Mar 22nd, 2005
0

Using Javascript code in ASP.NET

Expand Post »
Hi everybody,

I am facing problem in javascript.
I got javascript code for menu creation.
That code is saved as menu.jc file.
My Doubts are:
1) How do i use in my mainpage.aspx?
2) How do i create dll file for this javascipt file so that i can use it directly?

PLz its very urgent.

Thank you all
Roopa Raj
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rooparaj is offline Offline
8 posts
since Jan 2005
Mar 22nd, 2005
0

Re: Using Javascript code in ASP.NET

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.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Mar 22nd, 2005
0

Re: Using Javascript code in ASP.NET

Thanks for the solution.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rooparaj is offline Offline
8 posts
since Jan 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Submit Button Help
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: tool tips





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC