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
 
 
Posted: 15 September 2008 01:23 AM   [ Ignore ]   [ # 17 ]
Jr. Member
RankRank
Total Posts:  33
Joined  2007-09-04

same problem (no action after select the stars … like Adam Littles Problem) here!

Profile
 
 
Posted: 06 November 2008 10:20 PM   [ Ignore ]   [ # 18 ]
Newbie
Rank
Total Posts:  1
Joined  2008-11-06

I had the same problem here because my site was in a subdirectory. I changed it by adding the subdirectory path like this:

new Ajax.Updater('ratingresult', '/subdirectory_name/', {

Profile
 
 
   
2 of 2
2