Ich möchte die Bildquelle an das folgende div binden. <div class="head_label"><img class="bank_photo" data-bind="attr:{src: bankImage}"></div> Es folgt mein Ajax-Aufruf und ihre Variable, die ich an image src binden möchte. define( [ 'jquery', 'ko', 'Magento_Checkout/js/view/payment/default', 'Magento_Payment/js/view/payment/cc-form', 'Magento_Payment/js/model/credit-card-validation/validator', 'mage/validation' ], function ($, ko, Component) { 'use strict'; var bankImage = ''; return Component.extend({ …
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.