blanius Posted March 26, 2008 Share Posted March 26, 2008 This isn't working as expected is this formatted right? function sendcat(){ var url="dbq.php"; var data=$('cat').serialize(); var MyAjax=new Ajax.Request(url,{ method: 'post', parameters: data, onSuccess: function(){ getcats(); } }); My call to the PHP is fine it's the function for onSuccess that doesn't fire. Quote Link to comment Share on other sites More sharing options...
lordfrikk Posted March 27, 2008 Share Posted March 27, 2008 Hm, is it me or is there missing } at the end? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.