Skip to content

Instantly share code, notes, and snippets.

@mdmunir
Created January 5, 2015 14:00
Show Gist options
  • Save mdmunir/b4577e5e0a3ade879435 to your computer and use it in GitHub Desktop.
Save mdmunir/b4577e5e0a3ade879435 to your computer and use it in GitHub Desktop.
$('#id_harga, #id_qty').change(function(){
$('#id_total').val($('#id_harga').val()*$('#id_qty').val());
});
@mdmunir
Copy link
Author

mdmunir commented Jan 5, 2015

sesuaikan id inputnya.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment