Hi,
I want to be able to get a string out of a textbox like this.
$('#test').val();
The string in this textbox is generated with asp.net and look like this.
<textarea id="test" cols="40" rows="5">
{name:'Ajapai - Warning',mp3:'music/Ajapai - Warning.mp3'},
{name:'Dz - Oooh',mp3:'music/Dz - Oooh.mp3'}
</textarea>
When i get this string out of that textbox, it is a string. But I need this string to be a jPlayer array, used to create the playlist. Like this.
var myPlaylist = [$('#test').val()];
This code above dont work. Can someone help me?