$('#tilmeldknap').bind('click', function(){
alert(333);
$.post("", $("#signupf").serialize(), function(data) {
alert(444);
if(data == '1')
{
$.fancybox.close();
$("#cocktaillink").fancybox().trigger('click');
}else if(data == '2')
{
alert('Hov.. du skal udfylde alle felterne :-)');
return false;
}else if(data == '3')
{
alert('Hov.. du er allerede tilmeldt :-)');
return false;
}
});
Is what I got. When i click on the #tilmeldknap button, only thing i get is the 333 alert and now the 444. Why is this and how can I solve it?
In chrome it works fine, i get both alerts.
Been looking for a hour or so now, hope for some help here
You’re not posting to any url: