On 08/04/11 23:17, Randy Tomlinson wrote:
hi alan,

im confused? i only have a onRequest:function(), in the first file and
thats fine. i have no issues there? the problem is on the second page
(ajaxtest2.php)
there i want a HTML request after the onCoplete thing instead of the
alert....


I am still not sure what you are trying to achieve and what your difficulty is. Do you mean something like this



        var req = new Request.HTML({url:'hello.php',update:$('update')})

                
        var cd = new CountDown({
                element: $('countdown'),
                start: <?=$timer;?>,
                finish: 0,
                onComplete: function() {
// remove this          alert('Response');
                        req.send();
                }
        }).start();






--
Alan Chandler
http://www.chandlerfamily.org.uk

Reply via email to