Hi,

I am new to javascript and mootools. Here is my js code:
window.addEvent('domready', function() {
        $$('td[id=odds]').addEvent('click', function(e) {
                var value = $(this).get('text');

                var url = "index.php?option=com_tippster&task=ajax&format=raw";
                new Ajax(url, {
                        data: {'odds' :value},
                        method: 'post',
                        update: $('time')
                }).request();
        });
});
My current js code gives back the value of the clicked item in the
table.
So this works fine. My question is how can i get other item values at
the same time from the same row on witch it has been clicked on but
different column ?

Reply via email to