skip to Main Content

Jquery – Click event for dynamic id from dynamic elements not working

My footer elements are loading with dynamic id's. I used as follows $(document).ready(function () { $("[id^='footer']").click(function (evt) { evt.preventDefault(); if (window && window.siteConsent && window.siteConsent.manageConsent) { window.siteConsent.manageConsent(); } console.log(evt.target.id) }); }); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <a href="level2Link.NavLink" class="f-link managecookieShow" id="footer-nav-ManageCookies one1" aria-label="level2Link_AriaLabel">…

VIEW QUESTION

Html – I am not able to increase the width of my flexbox. I am new to web development… Please use normal terms when answering… Thank you

Problem I want to bigger width for my flex images. It is shrinked up and I cannot understand why i cannot increase the width of it. display:flex; max-width:95%; width:95%; margin:auto; background-color: #052F1A; gap:10px; } .bowl_images_section_1{ display: flex; background-image: url(./images/piece-1.jpg); background-size:contain;…

VIEW QUESTION
Back To Top
Search