diff --git a/app/webroot/js/customer_edit.js b/app/webroot/js/customer_edit.js new file mode 100644 index 00000000..f99c40aa --- /dev/null +++ b/app/webroot/js/customer_edit.js @@ -0,0 +1,13 @@ + +$(function() { + + console.log("Hello"); + + // Fairly quick and easy way to make this select box editable. Good enough. + $("#CustomerPaymentTermsOptions").live('change', function(data) { + selectedOption = $("#CustomerPaymentTermsOptions").val(); + $("#CustomerPaymentTerms").val(selectedOption); + console.log(selectedOption); + }); +}); +