$(document).ready(function(){
var xj = 1;
updaterows();
$("input[id^='hord'"]).live("blur", function(){
alert (xj);
validarord(xj);
});
});
$('input:text[id^=hord]').blur(function() {
that should if formed right get you every input field with an id that starts with hord.
Open in new window