I have next code block:
$.post('page.php', function(data)
{
//data - full page info
});
Returned data is html markup. And in this html i have javascript section with array:
var someArray= new Array();
How can i get this array object from data object?
Edit:
I cannot change data which returned from page.php. And basically this javascript just plugin to change existing page UI from other website. So i know that page contains array and i need get data from it.