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
Explain exception filters?
What are server side controls?
Explain the difference between authentication and authorization.
How you can access the values from the Repeater control in ASP.NET?
What are web server controls in asp.net?
How can we inherit a static variable?
How can you display all validation messages in one control?
what is AutoEventWireUp and what is the use of This property explain in details?
What is server components?
What do you mean by role-based security?
8. Why do you want to work here?
What is use of <% %> in asp.net?
How can we access static variable?
What r the asp.net list controls and diff. Between them?
What is web configuration file and how to use in web application