Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3241370
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:11:26+00:00 2026-05-17T18:11:26+00:00

I have an external JavaScript in an asp.net 3.5 project. While writing different functions,

  • 0

I have an external JavaScript in an asp.net 3.5 project.
While writing different functions, sometimes the JavaScript is loaded into FF and sometimes it is not (based on FireBug) and the JavaScript does not run.
Even if there is an error in the JS it should still load or be visible to the browser, right?

What is the logic behind when it is loaded and when it doesn’t load (or is accessible to the browser?)

EDIT

Master Page loads JS from a script directory in project:

<head runat="server">

    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
     <!-- Google JavaScript for gauges -->
       <script src='http://www.google.com/jsapi' type='text/javascript' ></script>   
    <!-- Style Sheet -->
       <link href="../Styles/EliteCircle.css" rel="stylesheet" type="text/css" />    
    <!-- My local JavaScript File -->
       <script src="Scripts/JScript.js" type="text/javascript"></script>    
</head>  

JScript.js

//Load google api
 google.load('visualization', '1', {packages:['gauge']});
 google.setOnLoadCallback(update);




 function update(x) {

 var test = parseInt(x.value);    

 var data = new google.visualization.DataTable();
 data.addColumn('string', 'Label');
 data.addColumn('number', 'Value');
 data.addRows(3);
 data.setValue(0, 0, 'Memory');
 data.setValue(0, 1, 0);
 data.setValue(1, 0, 'CPU');
 data.setValue(1, 1, 55);
 data.setValue(2, 0, 'Network');
 data.setValue(2, 1, 68);

 var chart = new google.visualization.Gauge(document.getElementById('chart_div'));
 var options = { width: 400, height: 120, redFrom: 90, redTo: 100,
 yellowFrom: 75, yellowTo: 90, minorTicks: 5
 };

 //smooth transition to new value, need to implement "from" value.
 setTimeout(function() { data.setValue(0, 1, test); chart.draw(data, options); }, 0);


 chart.draw(data, options);


 }    
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:11:26+00:00Added an answer on May 17, 2026 at 6:11 pm

    If it runs, even when it’s not loaded, that’s most probably because a cached version is used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.