skip to Main Content

add and remove div attribute with checkbox – SEO

i need to add id to div. my code not work. <div class="quote-box-col14" for="seo"> <label for="seo" class="quote-service-seo">SEO</label> <input type="checkbox" name="seo" id="seo" value="Y" class="checkbox-seo" /> </div> js code $('#quote-box-col14').change(function(){ if($(this).is(":checked")) { $( "#quote-box-col14" ).attr( "id", "check" ); } else { $(…

VIEW QUESTION
Back To Top
Search