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. Link to comment https://forums.phpfreaks.com/topic/97897-question-on-prototype-ajaxrequest-format/ 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? Link to comment https://forums.phpfreaks.com/topic/97897-question-on-prototype-ajaxrequest-format/#findComment-502101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.