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
What is a 401 redirect?
What is the difference between cookie and session?
What is simple data binding?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
Mention the execution process for managed code?
Which namespace is used by ado.net?
How will you load dynamic assembly? How will create assesblies at run time?
What is redirecting behavior?
How to change Master page in ASP.Net using code?
How does viewstate work?
What is cas?
Which tool you have done?
What are the server control tags in asp.net.?
What is the state management in asp.net?
What is the difference between page directive include and action tag include?