google chrome with prototype issue

Dear all,

    I am using prototype js in my rails application and making many ajax
calls using that. everything works fine in IE and FF but new
Ajax.request() is not working in chrome and safari. any solution will be
greatfull.

Thanks
karthik

I don't know about Ajax.request but have often found that when
something works in one browser and not another it is due to invalid
html which is interpreted differently by the different browsers. Have
you tried pasting the generated html into the w3c html validator to
check? Or install html validator add-on to firefox which is great as
it checks the html as you develop.

Colin

I see, thanks colin i will try as you said.

Colin Law wrote:

Dear all,

I am using prototype js in my rails application and making many ajax

calls using that. everything works fine in IE and FF but new

Ajax.request() is not working in chrome and safari. any solution will be

greatfull.

Thanks

karthik

Karthik, have you checked the error console for both Chrome and Safari? If not, then I would

highly recommend doing this when working with Ajax.

Good luck,

-Conrad

Hi Conrad,

Thanks, as you seggested i used error console and found
"this.transport.send(this.body);" is where the issue occurs though the
input paramaters are right. this line was not able to send request to my
server. im blank still.

Conrad Taylor wrote: