Sorry.  I probably posted this too early.  I got it figured out.  You
need to send CallLater a function pointer, not func()

Here is the fixed code.  Mmm.  Ajax.

function showAvailableParameters(result) {
    var v = document.getElementById('availableParameters')
        v.innerHTML = result.responseText
}

requestAvailableParameters = function() {
        var v = document.getElementById('availableParameters')
        v.innerHTML="<html><body><b><i>Loading...</i></b></body></html>"
        str = getForm()
        var s = "availableParameters"+str
        var d = doSimpleXMLHttpRequest(s);
        d.addCallback(showAvailableParameters);
}

function checkBoxChecked(){
        if (req)
        {
                req.cancel()
        }
        var m = MochiKit.Base;
        req = callLater(.5, requestAvailableParameters)
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to