I have appearing issue on ajax response in my WordPress site and ajax response is
function routineSkin(term,termId){
alert("Termssss => "+ term + " TermId=> "+ termId);
var skinRoute = jQuery("#paraskintype").val("skintype_"+term);
jQuery("#paraTarget").val("");
jQuery('#looking_nm').css('display','block');
jQuery.ajax({
type: 'POST',
url: '<?php echo get_stylesheet_directory_uri(); ?>/ajax/ajax-routine-options.php',
data:{term:term,termId:termId},
async: false,
beforeSend:function(){
jQuery("#loadingID").show();
jQuery(".formcontent").css('opacity', '0.5');
},
success:function(resultResponse) {
alert("Success..");
jQuery("#targetID").html(resultResponse);
jQuery(".formcontent").css('opacity', '');
jQuery("#loadingID").hide();
jQuery('#submitRoutineID').attr('disabled','disabled');
if(term == "200"){
jQuery('#looking_nm').hide();
jQuery("#paraLooking").val("");
jQuery("#paraTarget").val("target_201");
}
}
});
}
Onchange I have called this function and this function is working on desktop and some mobile device but not working on some other mobile devices. Please give me solution why this is not working or is there any script problem?