Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain exception filters?

1093


What are server side controls?

1049


Explain the difference between authentication and authorization.

1110


How you can access the values from the Repeater control in ASP.NET?

1106


What are web server controls in asp.net?

1166


How can we inherit a static variable?

1118


How can you display all validation messages in one control?

1040


what is AutoEventWireUp and what is the use of This property explain in details?

1654


What is server components?

1081


What do you mean by role-based security?

1036


8. Why do you want to work here?

1972


What is use of <% %> in asp.net?

1056


How can we access static variable?

1164


What r the asp.net list controls and diff. Between them?

1022


What is web configuration file and how to use in web application

1065