hello there - trying to post some data built from some none form elements but can't seem to crack it.
how can i create a an array in the same format as serializeArray() does with form fields?
tried several variations on this but it only picks up the last .active tag?
any help appreciated!
$('li.tag.active').each(function() {
values = {};
values['tagID'] = $(this).attr('id');
});
$.post("/scripts/php/process.php",{
'data': data,
funcName : 'tagResults'
},function(results){
$("#results").html(results);
})
dan.