CopyPastor

Detecting plagiarism made easy.

Score: -1; Reported for: Open both answers

Possible Plagiarism

Reposted on 2018-01-13

Original Post

Original - Posted on 2013-05-01



            
Present in both answers; Present only in the new answer; Present only in the old answer;


<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
$(document).on("change", "qty1", function() { var sum = 0; $("input[class *= 'qty1']").each(function(){ sum += +$(this).val(); }); $(".total").val(sum); });
<!-- end snippet -->

<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-css -->
.hidden:after { content: attr(data-txt); }
<!-- language: lang-html -->
<p class="hidden" data-txt="Some text you don't want to be selected"></p>
<!-- end snippet -->
It's not the best way, though.

        
Present in both answers; Present only in the new answer; Present only in the old answer;