In the following code, I am attempting to act upon the li element being hovered over.
HTML:
<div id="featured">
<ul>
<li class="active">foo</li>
<li class="">bar</li>
<li class="">giraffe</li>
</ul>
</div>
JavaScript:
$(document).ready(function () {
$('#featured ul li').hover(function(){
//do stuff, or not
});
});
But this line of code is causing the following error in FF and I'm clueless as to what is causing it.
g.guid is undefined
This occurs even if the line of JS has nothing occurring inside the function. Any insight would be welcome :)