Buonasera forum,
volevo chiedere se posso semplificare il codice dicendo. Rimuvi tutto da value 16 a 59 con unica istruzione..
Così è troppo macchinoso...
Grazie!
volevo chiedere se posso semplificare il codice dicendo. Rimuvi tutto da value 16 a 59 con unica istruzione..
Così è troppo macchinoso...
Grazie!
Codice:
$(".app_select_services option[value='16']").remove();
$(".app_select_services option[value='17']").remove();
$(".app_select_services option[value='18']").remove();
$(".app_select_services option[value='19']").remove();
$(".app_select_services option[value='20']").remove();
$(".app_select_services option[value='21']").remove();
$(".app_select_services option[value='22']").remove();
$(".app_select_services option[value='23']").remove();
$(".app_select_services option[value='24']").remove();
$(".app_select_services option[value='25']").remove();
$(".app_select_services option[value='26']").remove();
$(".app_select_services option[value='27']").remove();
$(".app_select_services option[value='28']").remove();
$(".app_select_services option[value='29']").remove();
$(".app_select_services option[value='30']").remove();
$(".app_select_services option[value='31']").remove();
$(".app_select_services option[value='32']").remove();
$(".app_select_services option[value='33']").remove();
$(".app_select_services option[value='34']").remove();
$(".app_select_services option[value='35']").remove();
$(".app_select_services option[value='36']").remove();
$(".app_select_services option[value='37']").remove();
$(".app_select_services option[value='38']").remove();
$(".app_select_services option[value='39']").remove();
$(".app_select_services option[value='40']").remove();
$(".app_select_services option[value='41']").remove();
$(".app_select_services option[value='42']").remove();
$(".app_select_services option[value='43']").remove();
$(".app_select_services option[value='44']").remove();
$(".app_select_services option[value='45']").remove();
$(".app_select_services option[value='46']").remove();
$(".app_select_services option[value='47']").remove();
$(".app_select_services option[value='48']").remove();
$(".app_select_services option[value='49']").remove();
$(".app_select_services option[value='50']").remove();
$(".app_select_services option[value='51']").remove();
$(".app_select_services option[value='52']").remove();
$(".app_select_services option[value='53']").remove();
$(".app_select_services option[value='54']").remove();
$(".app_select_services option[value='55']").remove();
$(".app_select_services option[value='56']").remove();
$(".app_select_services option[value='57']").remove();
$(".app_select_services option[value='58']").remove();
$(".app_select_services option[value='59']").remove();