Lifemankind (2 Forms)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 39s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 39s
Details
This commit is contained in:
parent
58f6714c9a
commit
e8a67bb54f
|
|
@ -316,13 +316,34 @@
|
|||
this.value = this.value.replace(/[^0-9]/g, '');
|
||||
});
|
||||
|
||||
$('input[type="number"]').on('paste', function () {
|
||||
var input = this;
|
||||
$('input[type="number"]').on('paste', function () {
|
||||
var input = this;
|
||||
|
||||
setTimeout(function () {
|
||||
input.value = input.value.replace(/[^0-9]/g, '');
|
||||
}, 0);
|
||||
setTimeout(function () {
|
||||
input.value = input.value.replace(/[^0-9]/g, '');
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
const $field = $('#field-amount_of_pob_generated_for_gudcef_monday_activity');
|
||||
|
||||
|
||||
$field.css({
|
||||
'background-color': '#eaf7ff',
|
||||
'border-color': '#9ed3ed'
|
||||
});
|
||||
|
||||
|
||||
$field.before(
|
||||
'<span class="input-group-text" style="background-color: #bde3f7; border-color: #9ed3ed;">Rs</span>'
|
||||
);
|
||||
|
||||
|
||||
$field.prev('.input-group-text').add($field).wrapAll('<div class="input-group"></div>');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -314,15 +314,36 @@
|
|||
|
||||
$('input[type="number"]').on('input', function () {
|
||||
this.value = this.value.replace(/[^0-9]/g, '');
|
||||
});
|
||||
|
||||
$('input[type="number"]').on('paste', function () {
|
||||
var input = this;
|
||||
|
||||
setTimeout(function () {
|
||||
input.value = input.value.replace(/[^0-9]/g, '');
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
const $field = $('#field-amount_of_pob_generated_for_asthakind_in_inr');
|
||||
|
||||
|
||||
$field.css({
|
||||
'background-color': '#eaf7ff',
|
||||
'border-color': '#9ed3ed'
|
||||
});
|
||||
|
||||
$('input[type="number"]').on('paste', function () {
|
||||
var input = this;
|
||||
|
||||
$field.before(
|
||||
'<span class="input-group-text" style="background-color: #bde3f7; border-color: #9ed3ed;">Rs</span>'
|
||||
);
|
||||
|
||||
setTimeout(function () {
|
||||
input.value = input.value.replace(/[^0-9]/g, '');
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$field.prev('.input-group-text').add($field).wrapAll('<div class="input-group"></div>');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue