skip to Main Content

Get div attribute value in input value and change in source – Jquery

I need show my newprice="" in input value, and in source. $(".uzmi").on("click", function(e) { $("inid").val($(this).attr('newprice')); }); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div data-value="VALUE 1" class="uzmi product-variation-colors__item helmet-variations" id=" " codeproduct=" " newprice="6043" variation_id="1407" change_img(0) "> Div 1</div> <div data-value="VALUE 1 " class="uzmi product-variation-colors__item…

VIEW QUESTION

Bootstrap: move text to the side of Checkbox – Jquery

I'm trying to get the "Default checkbox" to be at the side of the checkbox checkbox what i have so far <div class="col-2"> <label for="Desc" class="col-sm col-form-label">Default Checkbox </label> <div class="col pr-0"> <input type="checkbox" readonly id="defcheck" name="defcheck" class="form-control form-control-sm" data-toggle="tooltip"…

VIEW QUESTION
Back To Top
Search