<a href="#" onclick='contacts($code)'>Contact Details</a>
This runs a jquery code with the value $code. in Firebug I can see it gets the correct rowset value,
the jquery is below:
function contacts(code){
jQuery.ajaxSetup({async:true});
jQuery.post("php/contact.php", {code: code}, function(data) {
$('#results').hide();
$('#results').fadeIn(2000);
$('#results').show() .html(data);
});
}
it is supposed to post this value to the contact.php page, which has worked perfectly in other applications ive written using this method.
I keep getting ReferenceError: UA11 is not defined (UA11 being the rowset value) in firebug.
Cant seem to work out whats wrong?