2 of 2
2
How to: Have a basic AJAX submission with stars
Posted: 03 June 2008 01:19 PM   [ Ignore ]   [ # 16 ]
Newbie
Rank
Total Posts:  3
Joined  2008-06-02

Ok, so I think I figured out the problem I had initially.  I didn’t have my form ID matching with:

parameters:Form.serialize('rating{entry_id}'),

So I think it was choking out on the form.  But now I get the following:

Not Found

The requested URL / was not found on this server.
Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 Server at localhost Port 8888

I see the / in the bottom half of the [removed]

new Ajax.Updater('ratingresult', '/', {
onComplete
:function(request, json){
Element
.hide('ratingloading')
},
onLoading:function(request, json){
Element
.show('ratingloading')
},
parameters:Form.serialize('rating{entry_id}'),method:'post',asynchronous:true
}
); return false;
}

But I have zero clue what that is actually trying to accomplish.  Any thoughts?

Profile
 
 
   
2 of 2
2