41
rated 0 times
[
44]
[
3]
/ answers: 1 / hits: 57812
/ 13 Years ago, tue, april 26, 2011, 12:00:00
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.
More From » javascript