skip to Main Content

Javascript – how to add a number to a summed number

I would like to add the products and total them. 99.99 should be added to the total amount. what options are there? $(document).ready(function() { $('#btn-add').click(function() { $('#select-from option:selected').each(function() { $('#select-to').append("<option value='" + $(this).val() + "'>" + $(this).text() + "</option>"); $("input[name='class']").val((parseFloat($(this).val())…

VIEW QUESTION
Back To Top
Search