I am trying to get this function work, and it does everything it
should EXCEPT reattach the event handlers (which is the whole in using
livequery!). Any ideas?
$j(".versions").livequery('change', function() {
        var verid = $j(".versions option:selected");
        var prodid = $j(this).attr('id');
        $j.ajax({
                method: "get",
                url: "../includes/ajax/release.php",
                data: "vid="+verid.val()+"&mdl="+prodid,
                beforeSend: function()
                        {$j('#loading').show('fast');},
                complete:  function()
                        {$j('#loading').hide('fast');},
                success: function(json) {
                        $j('.rel_info').show('slow');
                        $j('.rel_info').html(json);
                }
        });
});

Reply via email to