Perfetto grazie, ero quello che mi serviva:

Codice PHP:
if($("input.numerico[value!='']").length == 0err_quantita true
ciao