开发者

equivalent of jQuery's "load" in prototype

I am trying to find an equivalent for the following jQuery javascript:

var x1 = setInterval(function() { $('#status').load("processor.php", {value:'name'} );}, 5000 );

I need to use Prototype for other applications on the page, and when I throw both jQuery and Prototype libraries in there they will not cooperate.

T开发者_如何学Gohank you,


Prototype's Ajax function "periodical updater" is what you're looking for:

http://api.prototypejs.org/ajax/ajax/periodicalupdater.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜