Oops, I missed a 'return'. This: if (el.type == 'image' && el.form.clicked_x) return a.push( {name: el.name+'_x', value: el.form.clicked_x}, {name: el.name+'_y', value: el.form.clicked_y} );
Should be: if (el.type == 'image' && el.form.clicked_x) { a.push( {name: el.name+'_x', value: el.form.clicked_x}, {name: el.name+'_y', value: el.form.clicked_y} ); continue; } _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/