Reputation:
I've added a search function to each page of my website. It was working perfectly, but for reasons unknown it now only works on the homepage: http://www.championfreight.co.nz/
<select id="urlSelect" class="Regular" style="cursor: pointer; height: 28px; width: 200px" onchange="window.location = jQuery('#urlSelect option:selected').val();">
<option value="http://www.championfreight.co.nz/index"> I need...</option>
<option value="http://www.championfreight.co.nz/quote"> A freight quote</option>
<option value="http://www.championfreight.co.nz/services"> List of services</option>
<option value="http://www.championfreight.co.nz/contact"> Contact information</option>
<option value="http://www.championfreight.co.nz/schedules"> Shipping schedules</option>
<option value="http://www.championfreight.co.nz/tracking"> Freight tracking</option>
</select>
I can't work out why this isn't working. Any help you can provide would be greatly appreciated. Thanks.
Upvotes: 0
Views: 27
Reputation: 2820
include jquery on all pages
<script type="text/javascript" src="engine1/jquery.js"></script>
Exists on home page but not on others
Upvotes: 1
Reputation: 2244
You're only including jQuery on the home page. You need to include it on every page.
Upvotes: 2