Hi - am moving my ajax funcs to jquery and want to set innerhtml with array data - but the following doesnt work, just get blank div and no errors
If i replace update[0] with "text" it works but doesnt seem to like array data (which does have values)
thanks MG
If i replace update[0] with "text" it works but doesnt seem to like array data (which does have values)
Code:
$.get(loadUrl, function(data){
var update = new Array();
if(data.indexOf('|') != -1)
{
update = data.split('|');
$('#actionlistinner').html(update[0]);
}
});
thanks MG