[jQuery] Superfish loading problem

[jQuery] Superfish loading problem


I am running Superfish with Smarty templating engine but there appears
to be a conflict with jquery and smarty
I call Superfish using the basic code below but it will not work
$(document).ready(function(){
     $("ul.sf-menu").superfish({
pathClass: 'current'
});
});
I changed the code to the following and it appears to call the code.
jQuery(document).ready(function(){
     $("ul.sf-menu").superfish({
pathClass: 'current'
});
});
I beleive the issue is with the $. I tested this with the following.
jQuery(document).ready(function(){
     alert('test')
});
});
and the alert is displayed. If I change the JQuery back to a $ it
will not work.
Any ideas or other ways to initiate the Superfish code.