Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Prototype Ajax.PeriodicalUpdater problem

Reply
Thread Tools

Prototype Ajax.PeriodicalUpdater problem

 
 
gzerphey@4service.net
Guest
Posts: n/a
 
      11-03-2006
I hope you guys can help me on this. I have two functions. The first
calls a periodical updater and does it quite successfully. The second
is meant to stop said updater. It however fails when I call it. It
just wont stop the updater. I'm sorry if I am missing something
stupid.

Thank you in advance,

function foobar(){
var searchvar = "ipadd=" + $F(ip) + "&commstring=" + $F(snmpstr) +
"&snmpelem=" + $F(RSL);
var opt = {
method: 'post',
parameters: searchvar,
frequency: 1
}
new Ajax.PeriodicalUpdater('snmpResult','snmpsearch.ph p',opt);
}

function barbar(){
opt.updater.options.onComplete = undefined;
opt.stop();
}

 
Reply With Quote
 
 
 
 
RobG
Guest
Posts: n/a
 
      11-03-2006

wrote:

> I hope you guys can help me on this.


Nope. If you want help with Prototype, head over to the Ruby On Rails
spin-offs group:

<URL: http://groups.google.com.au/group/ru...pinoffs?lnk=lr >


The prototype news group is dead.

--
Rob

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prototype WTP 0.2 released,this release for Prototype 1.6.0 javascript fish Javascript 0 10-11-2008 07:35 AM
Class prototype vs C function prototype June Lee C++ 2 04-13-2008 08:17 PM
Prototype Object.extend(new Base() | Hash | Hash.prototype) usage: jacobstr@gmail.com Javascript 3 03-27-2007 07:56 AM
relation between prototype and Prototype.js shypen42@yahoo.fr Javascript 9 05-26-2006 01:13 AM
Date prototype problem Christopher Benson-Manica Javascript 7 06-26-2005 09:03 AM



Advertisments