Question

Asked on 2003-10-01 at 12:49:17ID: 25444588

Read External JS file internally

by: Nitinol30

Rating6.2Good

I need help with trying to look at the contents of an external .JS file using javascript to read it, rather the browser....


::::example::::


<script>

<script src="myjsfile.js"></script>

<script language="javascript">

document.getElementsByTagName('src')[0].getAttribute("src", "myjsfile.js").value.indexOf("//")



</script>


Something to the affect of being able to see and read the contents of the .js file and decide whether it is written correctly or not.....   This is basically just a test to see if it exists

Thanks in advance....

Related Solutions

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution

View This Solution - Start Your 30 Day Free Trial
Zone
general
Tags
javascript external read
Participating Experts
1
Solution Grade
A

Replies

 by: VincentPuglia

Posted on 2003-10-01 at 13:01:35ID: 28146062

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 13:05:59ID: 28146063

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 13:16:04ID: 28146064

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 13:26:46ID: 28146065

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 14:06:28ID: 28146066

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 14:12:49ID: 28146067

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 14:25:08ID: 28146068

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 14:37:11ID: 28146069

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 14:46:28ID: 28146070

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 14:50:18ID: 28146071

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:01:12ID: 28146072

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:04:10ID: 28146073

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:05:39ID: 28146074

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:07:17ID: 28146075

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:12:37ID: 28146076

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:16:42ID: 28146077

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:19:52ID: 28146078

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:22:54ID: 28146079

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:23:38ID: 28146080

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:24:33ID: 28146081

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:26:49ID: 28146082

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:29:39ID: 28146083

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:32:49ID: 28146084

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:33:24ID: 28146085

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: VincentPuglia

Posted on 2003-10-01 at 15:39:29ID: 28146086

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:56:20ID: 28146087

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Nitinol

Posted on 2003-10-01 at 15:58:56ID: 28146088

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Log In

Forgot your password?Sign up

Top Experts

  1. mplungjan

    1,840

    0 points yesterday

    Profile

BrowseAre you an Expert?