Error Thrown: " + errorThrown);} }); } function process_vote_response(xml) { var msg = xml.getElementsByTagName("msg"); if (msg.length) { jQuery("#status").text(msg[0].getAttribute('content')); jQuery(".rate_vote").prop("disabled",true); } } function vote() { jQuery("#status").text("sending vote..."); jQuery.ajax({ url: "https://www.birdlifephotography.org.au/components/com_blphotos/ajax/process_vote.php",	type: "POST", data:{ user: birdlife_user, image:birdlife_image, 'da378f98dc2048f8fbddb6351a95ffe3':1, value:jQuery("#vote_drop").val(), gallery_id:1, }, success: function( xml) { process_vote_response(xml); }, error: function(xmlHttpRequest, statusText, errorThrown){jQuery("#status").html("Error processing request.