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

On 25 March 2010 04:58, Karthikragunath B. [email protected]
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.

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 L. wrote:

On 25 March 2010 04:58, Karthikragunath B. [email protected]
wrote:

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

On Wed, Mar 24, 2010 at 9:58 PM, Karthikragunath B. <
[email protected]> 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 T. wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs