1
vote
Accepted
Ajax call to inline grid text field from block grid
I am not sure but you can follow this steps may be help:
1). If custom grid you can define require-config.js and with the help of it you can do it.
2). In core you can simple add JS file in layout.
...
1
vote
Accepted
Add Success Message in Custom Popup for Add to Compare in the listing or Category Page in Magento 2
I have update and add the logic for custom popup for Add to compare, please refer the solution for the same,
create di.xml in app/code/Abc/Xyz/etc/frontend
<?xml version="1.0" encoding=&...
1
vote
Retreive and return response from controller in magento2
In Magento 2.4.5-p1 we can use jQuery Ajax like below.
Write below code in js file:
define(
[
'jquery',
'mage/url'
],
function (
$,
url
) {
'...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ajax × 801magento2 × 312
magento-1.9 × 165
javascript × 96
jquery × 76
controllers × 75
cart × 65
addtocart × 52
magento-2.1 × 34
checkout × 32
magento2.3 × 27
php × 27
magento-1.7 × 26
product × 25
admin × 24
module × 23
adminhtml × 23
mini-cart × 23
prototype-js × 20
magento-1 × 19
onepage-checkout × 18
forms × 17
shopping-cart × 17
json × 17
blocks × 16