Hi all,

Im pretty new to ajax and mochikit, but im learning it for a project
im doing at the moment. I am using mochikit's rounded corners, and its
all working fine, except when I update some content, the box unrounds
itself. Here is the code I am using to update the content:

AjaxUpdater = function (id, page) {
    var d = doSimpleXMLHttpRequest(page);
    d.addCallback(function (req) {
            getElement(id).innerHTML = req.responseText;
    });
    d.addErrback(function () {
            getElement(id).innerHTML = "No such page!";
    });
    return d;
}

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.

Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
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