I have the following code:
$('.groupselect').livequery(function(){ $('.groupselect').unbind().change(function(){ _this = this; _id = $(_this).attr('id'); //alert($(_this).val()); alert($(_this).attr('id')); }); });
I can take the value from the element, but i cant take the value from the id attribute, it returns blank.