<head>
<meta name="description" content="Directory" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script>
<script type="text/javascript" src="https://sitename.com/javascripts/toggle.js" language="javascript"></script>
</head>
this is the error showing in IE 7. I haven't checked in IE8 and 6.
Message: 'jQuery' is undefined
Line: 1
Char: 1
Code: 0
URI: https://sitename.com/javascripts/toogle.js
This is code of external javascript
(function($) {
$(document).ready(function(){
$('.divhide').hide();
$('#ShowFields').show();
$('.DirectoryLink') .addClass('plus');
$('#DirectoryLink') .addClass('minus');
$('.DirectoryTextLink').click(function(){
$(this).next().slideToggle();
$(this).toggleClass('minus');
return false;
});
});
})(jQuery);