this code here is suppose to call a file that will in return return data for fill in a form but i am getting this error (in the code) and i do not know why.
dropdown.bind('change', function(){
$post.('backgroundScript.php',
Uncaught SyntaxError: Unexpected token ( - this is the error im getting
{
first: dropdown.val()
},
function(response) {
$('#first').val(response.first);
$('#last').val(response.last);
// Repeat for all of your form fields
},
'json'
);
});
it you would give me a hand i would appreciate it :)