I am calling a jquery function from .aspx page as follows

```
 <body onload="JavaScript:createPanels('[{a,b,c,d,e}]')">

```

in my jquery I have function defined as 

```
function createPanels(requiredButtons) {
    var abc = JSON.stringify(requiredButtons)
    abc.each(function (key, value) {
        alert(value);
    });

}

```

Now the issue is that I am not getting any alert.

Can any one point me where am I going wrong?
['https://Stackoverflow.com/questions/17804096', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1243271/']
This is not a valid JSON format. Json Format is like as below:

```
 var obj = {
     "flammable": "inflammable",
      "duh": "no duh"
   };

```

Then Use as below:

```
 $.each( obj, function( key, value ) {
     alert( key + ": " + value );
  });

```

[Reference](http://api.jquery.com/jQuery.each/)
I lurve jQuery and everything, but there's no need to invoke it to iterate an array.

```
abc.forEach( function (elem) {
    console.log(elem);
});

```

should work, once you've tidied up your JSON thing