options are the same as link_to_remote, so read the docs at http://
PrototypeHelper.html#M000412 you will notice a :submit option that is
what I think you are looking for.
On May 5, 2006, at 11:48 AM, Randy Schmidt wrote:
> Sweet. Thanks.
> Here's another question. Do you know of a way to keep the filtered
> list when it refreshes? for example, someone starts typing a name, it
> filters the list down to one person, then it calls refresh and the
> whole list gets displayed even though the person didn't want that...so
> if there is a search term, periodically refresh the search
> results...does that make sense?
> On 5/5/06, Ron Lusk <firstname.lastname@example.org> wrote:
>> By the way, this has an interesting effect (same as a refresh meta
>> tag, I
>> suppose): sessions don't time out, if the refresh period is
>> shorter than the
>> session timeout period. This can cause a problem if your security
>> dictates session expiration after a few minutes.
>> On 5/5/06, Ron Lusk <email@example.com> wrote:
>> > periodically_call_remote
>> > > Periodically calls the specified url (options[:url]) every
>> options[:frequency] seconds (default is 10). Usually used to update a
>> specified div (options[:update]) with the results of the remote
>> call. The
>> options for specifying the target with :url and defining callbacks
>> is the
>> same as link_to_remote.
>> > On 5/5/06, Randy Schmidt < firstname.lastname@example.org> wrote:
>> > >
>> > I am making a web-based signout sheet where the users can use live
>> > search to filter the list of employees and and set away and come
>> > is all ajaxified. I was wondering how I would periodically
>> update the
>> > list of employees. For example, employee 1 has the page open on
>> > screen and employee2 signs out, I want the screen for employee 1 to
>> > update like every second or so...I just couldn't think of how to
>> do it
>> > exactly.
>> > Thanks!
>> > --
>> > Randy Schmidt
>> > email@example.com
>> > 267.334.6833
>> > _______________________________________________
>> > talk mailing list
>> > firstname.lastname@example.org
>> > http://lists.phillyonrails.org/mailman/listinfo/talk
>> Ron Lusk
> Randy Schmidt
> talk mailing list
talk mailing list