COPD Domain (Damdar Duolin Form)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s
Details
This commit is contained in:
parent
2bb5e580f1
commit
3caf63c05d
|
|
@ -248,9 +248,19 @@
|
|||
this.value = this.value.replace(/[^0-9]/g, '');
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
$('#report-form').on('submit', function(event){
|
||||
event.preventDefault();
|
||||
$("#pageloader").fadeIn();
|
||||
|
||||
var brandSku = $('#field-select_duolin_sku').val();
|
||||
|
||||
var slug = brandSku.toLowerCase().trim().replace(/[^a-z0-9]+/g, '_').replace(/^-+|-+$/g, '');
|
||||
|
||||
$('#report-form').append('<input type="hidden" name="'+ slug +'_units" value="'+ $("#field-no_of_units_booked").val() +'">');
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '/form/ajaxsubmit',
|
||||
|
|
|
|||
Loading…
Reference in New Issue