How To Call Outside Javascript File?
Example : Our Project File Folder Name "Sample" Another
Folder Name "Check".Check Folder Is Out Side Of Our
Project ?Check Folder Have Verify.Js File. My Question Is
How To Call Verify.Js File.
Answer Posted / vikas
Assuming the following directory structure:
~/Sample/project.html
~/Check/verify.js
to use the javascript file in project.html insert the below
code between the <head> and </head>:
<script src="../Check/verify.js" type="text/javascript">
</script>
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Is asp.net and .net are same or different?
Can you change a Master Page dynamically at runtime?
Why asp.net is better than php?
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?
Define data caching?
What is mvc in asp.net interview question? : Asp.Net MVC
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
Why is asp.net so popular?
How will you maintain versioning in asp.net 2.0?
Can we have multiple master pages in asp net?
What is the use of web.config and machine.config files?
What is difference between or and orelse?
What is the difference between a default skin and a named skin?
Define web.config in .net?
How can you ensure a permanent cookie?