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 the difference between application state and caching?
When you use Ajax controls in the ASP.NET application?
How many types of state management are there in asp net?
How can we create Tree control in asp.net?
How is a session stored and maintained in asp.net?
How to set the pane area to transparent of a scrollPane component.?
Distinguish between Server-side and Client-side code with its functionality?
Explain the benefits of viewstate?
What is the maximum timeout we can set for Cookies?
Differentiate strong typing and weak typing
Is there any property names “isnavigating”?
Explain client-side scripting?
What is cookies in asp net?
What are the steps involved to fill a dataset?
What is a response cookie?