I am fairly new to using jQuery in WordPress and I am trying to write jQuery scripts in a separate file.
What is the difference between the following two syntaxes of setting up the external file:
Version I
jQuery(function() {
jQuery("#radio").buttonset();
});
Version II
$(document).ready(function() {
$("#radio").buttonset();
}