JQuery DatePicker suddenly breaks (Nov 2015)

235
November 23, 2016, at 7:02 PM

So on this page... https://media.norquest.ca/ace/math/fs/scheduler.html what's supposed to happen is you click the Start Date or End Date box, the widget pops up and you select a date. This has been working perfectly for over a year.

What's happening today, suddenly, is you click on the Start Date or End Date box and nothing happens. The widget is suddenly not responding.

Before I spend hours reading documentation, could somebody please have a look at the page code (below) and tell me if anything's out of whack with my calls? It's the first time I've used JQuery components so I'm hoping something's wrong that will be obvious to experienced eyes.

<head>
<title>Flash Scheduler</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" />
<script src="scheduler.js"></script>
<script src="jquery-1.6.3.min.js"></script>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script>
$(function() {
  $( "#startdate" ).datepicker();
});
$(function() {
  $( "#enddate" ).datepicker();
});
</script>
</head>

Thanks for your time! JF

Answer 1

A recent infrastructure change at our college was behind this - the server where scheduler.html was stored began loading content through https instead of http. As a result, the three JQuery URLs were being blocked.

Changing every instance of http:// to https:// (and then clearing Chrome's cache so it would actually run the updated file) seems to have got things running again.

Rent Charter Buses Company
READ ALSO
Replace div element with jQuery and select it from jQuery script

Replace div element with jQuery and select it from jQuery script

I've got a div that loads initially based on whether a sound option on my website is toggled on or off. .

358
keep track of time as user changes web pages

keep track of time as user changes web pages

I have a requirement where a user presses a start timer button and it begins keeping track of time. As the user moves through the website, I want the time to continue tracking, until they press the stop button.

262
pass object type value into php page using ajax jquery

pass object type value into php page using ajax jquery

I have multiple multiple dynamic checkbox and after checked to the checkbox[nnn]it return values on object format like below. .

335