| | |
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 ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug captchaformproblem checkbox close codes createrange() css cursor debugger decimal dependent disablefirebug dom download dropdown editor element engine error events explorer ext file firefox form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump listbox maps masterpage math media microsoft mp4 object onmouseoutdivproblem onreadystatechange paypal pdf php player position programming progressbar prototype redirect regex runtime safari scale scriptlets search security select size software sql text textarea unicode w3c window windowofwords windowsxp wysiwyg \n






