This is my AJAX code:
$.ajax({
type: "POST",
url: "ajax.php",
data : params+'&lakasid='+lakasid,
dataType: "json",
This code works perfectly, but when I add one more parameter to the data field, the request will not start.
Wrong code:
$.ajax({
type: "POST",
url: "ajax.php",
data : params+'&lakasid='+lakasid+'&action='+action,
dataType: "json",
When I add action at the end, the code is not working.
What could be the problem?
Thanks in advance.