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 are main return types supported in Web API?
What is the difference between application state and session state in asp net?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
What is client side state management?
How many types of session in ASP.NET
What is full trust in asp.net?
State differences between MVC and WebAPI
Give me one example of Web API Routing?
To redirect the user to another page which method do we use without performing a round trip to the client?
Explain how can we inherit a static member?
i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
What is asp.net introduction?
How can you ensure a permanent cookie?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????