<form action="..." method="post">
<input type="submit" name="btn_add" id="add" ...>
...
I've jquery connected to this button:
$().ready(function() {
$('#add').click(function() {
...;
});
});
Also, I want to
if(isset($_POST['btn_add'])){
... do something, doesnt work
}
isset is not working. Is there any reason to that, because of jquery? If so, how can I have jquery working and isset listening to the same button?