skip to Main Content

How to insert HTML using querySelector & modules?

My website uses this in the frame.html head so it appears globally: <!--START: infopages--> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('#15').load("../assets/15.html"); $('#16').load("../assets/16.html"); $('#17').load("../assets/17.html"); $('#18').load("../assets/18.html"); $('#19').load("../assets/19.html"); $('#20').load("../assets/20.html"); }); </script> <!--END: infopages--> Other individual pages/places will have a reference like this (different pages make…

VIEW QUESTION

Html – Hiding a parent div based on all child inputs being disabled

I am trying to {display:none} on class="filter-form__group" only if ALL child Input's are 'disabled'. <div class="filter-form__group"> <div class="filter-form__group-filter-wrapper" data-filter-type="list"> <div class="filter-form__list-wrapper"> <ul class="filter-form__list"> <li class="filter-item"> <label data-filter-item="" class="filter-item__content"> <input type="checkbox" value="Luggage" disabled> </label> </li> <li class="filter-item"> <label data-filter-item="" class="filter-item__content"> <input…

VIEW QUESTION
Back To Top
Search