Quantcast
Channel: Programmierung - Shopware Community Forum
Viewing all articles
Browse latest Browse all 2871

Probleme mit Javascript und dem Binding

$
0
0

Hallo Community,

ich habe das Problem das ich es nicht hinbekomme sauber eine JS datei einzubinden. Zwar bekomme ich mein JS geladen, wenn ich es im Block 

{block name="frontend_index_header_javascript_jquery_lib" append}
     <script type="text/javascript" src="{link file='frontend/_public/src/js/custom.js'}"></script>
{/block}

lade. Allerdings verliere ich jedesmal das Binding auf mein Element, wen ich auf der Detailseite eine andere Größe meines Artikels aussuche. Was mach ich falsch? Wie binde ich mein JS-Datei richtig an?


Viewing all articles
Browse latest Browse all 2871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>