Forum: Ruby on Rails Problems: Ajax on Rails

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

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...?

Thanks
Chamnap
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.

Thanks
Chamnap
This topic is locked and can not be replied to.