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 / varun

If you want to access a java script file from outside the
project folder then follow this:-

<script src="../verify.js" type="text/javascript">
</script>

this way where ever this file will be located; it will be
fetched.

thanks

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between singleton and single call?

655


Describe the difference between inline and code behind - which is best in a?

578


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

590


How many types of session state management options available in asp.net?

561


Is post back property in asp net?

534






How is the asp.net mvc architecture different from others? : asp.net mvc

497


Explain parts of assembly?

564


What is viewstate parameter?

538


Explain how can we inherit a static member?

538


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

563


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

1622


How do we sort the data from a dataset?

583


Why would anyone need to implement their own hashtable or linked list?

2451


What are the advantages of asp.net?

552


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

560