Hi,

On Sat, Oct 25, 2008 at 12:28, jonbutler88 <[EMAIL PROTECTED]> wrote:
> What can I use to either return a rounded object or round it as soon
> as it is updated? Ive tried adding the roundElement line in various
> places in the code above, at most it has rounded it for a few seconds,
> but then the content is updated and the box is square again.

Have you tried...

> AjaxUpdater = function (id, page) {
>    var d = doSimpleXMLHttpRequest(page);
>    d.addCallback(function (req) {
>            getElement(id).innerHTML = req.responseText;

              >> adding it here <<

>    });
>    d.addErrback(function () {
>            getElement(id).innerHTML = "No such page!";
>    });
>    return d;
> }

?

cheers,
Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to