problem with .each in ie7

problem with .each in ie7

I have a problem with this in ie 7. I have a table with ids and I use .each to loop trough all the fields in my table and then show results in the table fields. In ie8, firefox and google chrome it works like a charm. But ie7 won't work. It only gives me the first result.

Here is my code:
  1. function table_array(){
          $('input#articleid').each(function(i,v){
                $.post('./stockHistory.php',{articleid: $(v).val()},function(response){
                      if (response != 0){
                           $('td#v' + $(v).val()).html(response);
                      }
                });





  2.       });
    }

Am I doing something wrong?

EDIT: It seems that ie7 only returns one row of the table and that he forgets to fill up the rest.

For example

numberHeader textHeader
0                    someText
nothing           nothing
nothing           nothing
...                   ...