Hallo,
habe eine Lösung dazu gefunden. Danke für die Hilfe.
for(var b=0;b < searchArray.length;b++)
{
thisObj.inputFields = jQuery('#new' + searchArray[b] + 's');
thisObj.tempString = String(searchArray[b]);
thisObj.inputFields.keyup(function()
{
var newVal = 0;
if(Number(document.getElementById('new' + thisObj.tempString + 's').value) != 'NaN')
{
newVal = parseInt(document.getElementById('new' + thisObj.tempString + 's').value);
}
thisObj.setNewVal(newVal,thisObj.tempString,thisObj.tempString.toLowerCase());
});
}