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 the difference between client-side and server-side validations in ASP.NET?

654


Explain login control and form authentication.

553


Why is it preferred to not use finalize for clean up?

556


What is protected configuration?

593


Is asp.net mvc still used? : Asp.Net MVC

507






Explain the difference between dataset and datareader.

527


Can user control be stored in library?

515


How do you hide the columns?

588


What is the difference between user control an custom control?

610


What is app_code folder in asp net?

525


How many types of controls are there in asp.net?

521


Explain how can we inherit a static member?

523


What are sessions and cookies?

560


Explain Areas in MVC?

639


What is the difference between system.stringbuilder and system.string

254