| | |
Using Javascript code in ASP.NET
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2005
Posts: 8
Reputation:
Solved Threads: 0
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
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
Put this line in mainpage.aspx.
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.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<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.
![]() |
Similar Threads
- ASP.NET/SQL Developer/Programmer (Web Development Job Offers)
- call RPG AS/400 code from ASP.NET (ASP.NET)
- patient information system(design and source code) in C# with asp.net (C#)
- ASP.Net perm full time programmer wanted (Web Development Job Offers)
- Front-End Developer with ASP.net needed!!! (Web Development Job Offers)
- Experience ASP.net with C# developer needed!! (Web Development Job Offers)
- Moving VB.NET Code to ASP.NET Code? (ASP.NET)
- ASP.NET and JavaScript (ASP.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Submit Button Help
- Next Thread: tool tips
| Thread Tools | Search this Thread |
acid2 ajax ajaxexample ajaxjspservlets array beta box browser captchaformproblem cart checkbox child close codes column css date debugger decimal dependent design disablefirebug dom download editor element embed engine enter error events explorer ext file firefox form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html ie7 ie8 iframe index internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl listbox maps masterpage math media menu mimic mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post problem programming prototype redirect runtime safari scale scriptlets scroll search security select shopping size software unicode w3c web window windowofwords wysiwyg \n






