Skip to main content
added 124 characters in body
Source Link
Raghu
  • 1.7k
  • 1
  • 17
  • 31

In header we have code like this in separate scripts

var $ck = jQuery.noConflict();
var $abc = jQuery.noConflict();
var $frr = jQuery.noConflict();

The requirement is working but I have observed in the console

ReferenceError: jQuery is not defined
ReferenceError: decorateList is not defined
ReferenceError: Varien is not defined

Please find the below image

enter image description here

can anyone help me on this issue.

thanks

In header we have code like this in separate scripts

var $ck = jQuery.noConflict();
var $abc = jQuery.noConflict();
var $frr = jQuery.noConflict();

The requirement is working but I have observed in the console

ReferenceError: jQuery is not defined
ReferenceError: decorateList is not defined
ReferenceError: Varien is not defined

can anyone help me on this issue.

thanks

In header we have code like this in separate scripts

var $ck = jQuery.noConflict();
var $abc = jQuery.noConflict();
var $frr = jQuery.noConflict();

The requirement is working but I have observed in the console

ReferenceError: jQuery is not defined
ReferenceError: decorateList is not defined
ReferenceError: Varien is not defined

Please find the below image

enter image description here

can anyone help me on this issue.

thanks

Source Link
Raghu
  • 1.7k
  • 1
  • 17
  • 31

magento console errors when script is written in header

In header we have code like this in separate scripts

var $ck = jQuery.noConflict();
var $abc = jQuery.noConflict();
var $frr = jQuery.noConflict();

The requirement is working but I have observed in the console

ReferenceError: jQuery is not defined
ReferenceError: decorateList is not defined
ReferenceError: Varien is not defined

can anyone help me on this issue.

thanks