I have code .. to check what class in every id .. i found that if the class="", attr will return undefined ...
example: className = $('#myid').attr('class'); I use Jquery 1.2.4b from ui.jquery.com is it the bug or it is the correct result from attr() ?