I am really new to jquery UI and what i need to do is to pass a json object i am getting from facebook’s graph api
$pageIds=$facebook->api('/me/accounts');
Now i need to pass $pageid to the jqueryUI function to dynamically add to the tag by
$('#list').append($("<option></option>").
attr("value",key).
text(value);
how can i do this?
In a .php file, do:
This outputs the jquery syntax for appending the options.