javascript - Does IE 8 not support push? -


I am trying to include a key / value combination in serializeArray (from jquery)

I have something like

  var form = $ ('# form'); Var sendFormData = form.serializeArray (); SendFormData.push ({"name": "name", "value": "test"});  

In Firefox it works in IE 8 yet.

Line: 51 Error: Object does not support this property or method

So it seems that pointing to this line. So 8 does not support push 8 either, is there a way to add a key / value pair that can work in all browsers (Firefox 5, Firefox 8, Chrome, Opera, Safari)

What work do you have (even in IE8), you can check it here You can:

The question is that you are trying to achieve that error :)

The object has been around till now, I have never Minister has not seen a browser that does not supported ...

Your unsupported error is


Comments