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 request and response in asp.net?

508


What is clickid?

551


Explain the difference between debug.write and trace.write? When should each be used?

554


How can u deifne the benefits and limitation of using Viewstate for state management?

702


Explain diff between dataset and datareader?

526






What is the difference between “Web.config” and “Machine.Config”?

694


What are session state modes?

562


Which protocol is used in a web api?

559


Define dll hell?

625


What is the use of data set in asp.net?

482


What's the ASP.Net Application life cycle?

562


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

594


How can we identify that the page is post back in asp net?

507


Describe how ASP.NET maintains process isolation for each Web application?

572


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

534