This is my code:
$('#<some_object>').on( "keypress", function(event) {
if (event.which == 13 && !event.shiftKey) {
event.preventDefault();
$.get('ajax.php', {
action: '<some_text>',
customer: ,
value: $('#<some_object>').val()
}, function(data) {
$('#<some_object>').attr('value',data);
}
)
}
});
I am having syntax error in majority in browsers, except my dev on which I use chrome. Please help me find the problem.
Any help appreciated.
customer: ,there's an error on the comma (a value is missing)