I have a piece of JS (below) that in IE9 is giving me the following error:
The value of the property '$' is null or undefined, not a Function object
In FFX, Chrome, and Safari I get no issues. Not sure whats going on here - still learning a bit, so be easy on me if it's obvious :)
Thanks in advance!
<div id="sample-widget" style="">
<link rel="stylesheet" type="text/css" href="widget.css" media="screen">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript">
function LA_triggerOverlay() {
$("#la-w-001-overlay").toggle();
};
$(function () {
$("#sample-widget").show();
});
</script>
<div>
<a href="#" onclick="LA_triggerOverlay(); return false;">
</div>
$in a script that comes before this block?<head>tag of your HTML document.