error message

error message

i just typed my first jquery program like this. 
$(document).ready(function() {
$('span.pq').each(function() {
  var quote = $(this).clone();
  quote.removeClass('pq');
  quote.addClass('pullquote');
  $(this).before(quote);
});//end each
});//end ready
in  an html file that is attached to a jquery file, but unfortunately my browser provide an error massege like this.
Untitled-2.htm:10 Uncaught ReferenceError: $ is not defined. can anybody here help me with that? thanks