I have a javacript code coupon.js defined as follows -
jQuery(document).ready(function(){
jQuery('.appnitro').submit( function() {
$.ajax({
url : $(this).attr('action'),
type : $(this).attr('method'),
dataType: 'json',
data : $(this).serialize(),
success : function( data ) {
for(var id in data) {
jQuery('#' + id).html( data[id] );
}
}
});
Now firebug throws following error -
jQuery is not defined
[Break on this error] jQuery(document).ready(function(){\n
Can someone explain me the error and ways to remove it.Thanks in advance