Skip to main content

JavaScript (JS) is a client side script language which allows to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. By default Magento 1 comes with the prototype.js library and Magento 2 comes with jQuery. Use 'prototype-js' and 'jquery' tags for questions about those libraries.

Related tags:

  • for questions related to the native Prototype JS library of Magento.
  • for questions related to the use of the jQuery library in Magento.
  • for questions related to the native Magento 2 Require JS library.