Grab the URL you're using and paste it into a browser and see what the
server comes back with.
Just before you do your Ajax call, add:
x = prompt('',url+'?'+params)
On Nov 20, 6:28 am, Elast <[EMAIL PROTECTED]> wrote:
> Hello!
> Following ajax request returns Internal Server Error message in Opera
> and FireFox, but in IE 7 it works well.
>
> var url = 'handlers/DeckCards.ashx';
> var params = {DeckID: deckId,
> NewDeckID: newDeckId,
> CastID: castId,
> CommandType: 'Move',
> Time: new Date().getTime()};
> new Ajax.Request('handlers/DeckCards.ashx',
> {
> method: 'get',
> parameters: params,
> onSuccess: CastMoved.bindAsEventListener(null, castId,
> deckId),
> onComplete: RequestComplete
> });
>
> Please help me understand why
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---