Solution:1
Maybe use the jQuery change event
$('#section-logo input').change( function() {
if ( $(this).val() !== "" ) {
logo_position_section.show();
}
}
Solution:1
Maybe use the jQuery change event
$('#section-logo input').change( function() {
if ( $(this).val() !== "" ) {
logo_position_section.show();
}
}
Solution:2
Use following code
$(document).on('input', '#amt', function(){
let r1;
let r2;
r1 = $("#remittance_amt").val();
if(r1 === undefined || r1 === null || r1 === '')
{
r1 = 0.00;
}
console.log(r1);
});
Solution:3
Use following code
$('#apply-form input').blur(function() {
if(!$.trim(this.value).length) { // zero-length string AFTER a trim
$(this).parents('p').addClass('warning');
}
});