I recently solved a jquery problem I had by switching all the '$'s in my code to 'jQuery'
I'm trying to use this code:
var $items = $('#vtab>ul>li');
$items.mouseover(function() {
$items.removeClass('selected');
$(this).addClass('selected');
var index = $items.index($(this));
$('#vtab>div').hide().eq(index).show();
}).eq(1).mouseover();
but am not sure how to change the $ signs out for $items. Is it as simple as jQuery.items? Is this even jQuery code? I'm confused.
Thanks, Zeem