I am trying to load a JS file into my website, I have placed the file into exactly the same folder as one that does load, but firebug does not show that it has loaded, and it's effects are not visible.
Why could this be?
Here is the code to load the script
<script src="<?php bloginfo('template_url'); ?>/page-customs/js/QES_form_edits.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_url'); ?>/page-customs/js/datepicker.js" type="text/javascript" charset="utf-8"></script>
The first is not being loaded, the second is.
Here is the script itself:
jQuery(document).ready(function($) {
$("fieldset#keyword p.instruction").html("Search for a name or description of an activity, venue (e.g. Link Center)
or other keywords (e .g. coach)");
});
Jquery is loading fine.
Firebug will not show a javascript file as loaded if the file will not run due to invalidation. Fix JS, fix problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With