JQuery erhalten alle Texteingaben
$('.sys input[type=text], .sys select').each(function() {...})
Indian Gooner
$('.sys input[type=text], .sys select').each(function() {...})
$("form").submit(function(){ return validateForm($(this)) });
function validateForm(form){
var retVal = true;
var re;
$.each(form.serializeArray(), function(i, field) {
var input = $('input[name='+field.name+']');
field.value = $.trim(field.value);
switch(field.name){
case "name" :
and another cases...
}
})
}