New answers tagged

0 votes

Magento2 how to get payment method using jquery or knockout

Magento2.4: Getting Selected Payment Method using knockout: define( [ 'jquery', 'ko', '...
user avatar
0 votes

how to get the return of an ajax request that I didn't send

You can use global listener. Here is example from the vendor/magento/module-customer/view/frontend/web/js/customer-data.js where the customer data is updated when customer changes something on the ...
user avatar
0 votes

How to solve this error ? menuAim is not a function

You need to load whatever plugin is reponsible for menuAim, you are trying to run a function that does not exist in this scope.
user avatar
  • 15.2k
0 votes

How to stop Playing video in the background when popup modal is closed or click on out side of the popup

Consider trying this ? $('.nursery-modal').on('modalclosed', function() { console.log("Modal is closed then stop the video"); $('#video').trigger('pause'); }); Considering ...
user avatar
  • 772

Top 50 recent answers are included