Forum: Ruby on Rails Problems: Ajax on Rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chamnap (Guest)
on 2007-06-14 06:18
(Received via mailing list)

I have two problems related to using Ajax on Rails.
     1- I use form_remote_tag to perform a small search functionality.
When the user click search button, it will show the spinner image and
it is processing my search query. However, during that time when I
press escape key on firefox, it stop processing and then when I click
search again, no action is involved at all. Why was that? Does anybody
know the trick how to solve?
     2- When there is no Internet Connection, my code has problems
because it needs to query to the Internet. I want to check the
internet connection first and then report to the user when the
internet connection is not available just like Gmail does when the
user the link or button that need to access to the Internet. If the
cache is available, it get the information from the cache.

Any idea...?

Chamnap (Guest)
on 2007-06-21 07:59
(Received via mailing list)
Hello everybody,

Anybody has some idea with my the above two questions? Any idea is
always appreciated.

This topic is locked and can not be replied to.