Ok, I did some work but now my request is an "object NodeList" what am
I doing wrong?



    add: function(e, clicked) {
        new Event(e).stop();
        new Request.HTML({
                url: this.getProperty('action'),
          data: $(this),
                onComplete: function(){ MYOSC.Cart.getShortList();
                                                                                
                                MYOSC.Cart.clicked = clicked || false;
                }
        }).send()
    },
    getShortList: function() {
        new Request.HTML({
                url: MYOSC.Base.uri + 'index2.php',
          data: { only_page: 1,
                  page: "shop.basket_short",
                  option: "com_cart"
                      },
                onComplete: MYOSC.Cart.update
        }).send()

    },
    update: function(response) {
          alert('update ' + response);


Reply via email to