« first day (524 days earlier)      last day (493 days later) » 

10:26 AM
$(function() {
var priceper = parseFloat($('#priceper_').text());

$('#subtract').on("click",function() {
var $quantity_0 = $('#quantity_0');
var current = parseInt($quantity_0.val());
if ( current > 0 ) {
$quantity_0.val(current-1);
$('#subtotal_0').val($priceper_*(current-1));
} else {
$('#subtotal_0').val(0);
}
});

$('#add').on("click",function() {
var $quantity_0 = $('#quantity_0');
var current = parseInt($quantity_0.val());
$quantity_0.val(current+1);
$('#subtotal_0').val($priceper_*(current+1));
 
1 message moved from JavaScript
 
Does anyone know why this returns 'NaN'?
 
10:44 AM
to much talk.... not enough silence
Can we get some peace and quiet in here?
 
@connor.js SHUTUP!
 
...why was that flagged
 
I have a good idea
Go and sit at the back
 
@connor.js did you flag me?
 
10:47 AM
9 messages moved from JavaScript
 
 
4 hours later…
3:15 PM
 
1 message moved from PHP
 
4:18 PM
that's the one i had tickets for
 

« first day (524 days earlier)      last day (493 days later) »