How to update multiple elements with one MooTools Request.HTML call

Posted by Mario on Stack Overflow See other posts from Stack Overflow or by Mario
Published on 2009-09-04T19:33:15Z Indexed on 2010/03/15 6:09 UTC
Read the original article Hit count: 521

Filed under:
|
|
|

Does anyone know if, using one Request.HTML call from MooTools, it is possible to somehow update more than one element in a webpage? The current call I have is:

var req = new Request.HTML({update: $('content')}).get('../latest_events');

This updates the content div in my page with the "../latest_events" page. Is there a way to update other divs with the "../latest_events" page using this same call, or do I have to just use separate calls?

© Stack Overflow or respective owner

Related posts about mootools

Related posts about JavaScript