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/']
Thats not how `$.each` is to be used:

Try this:

```
$.each(abc, function (key, value) {
    alert(value);
});

```

It will alert each character in the string.
Thanks for your valuable suggessions
I solved the problem as 

.aspx page

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

```

jquery

```
function createPanels(requiredButtons) {
    var abc = requiredButtons.split(',');
    $.each(abc, function (key, value) {
        alert(value);
    });

```

}