Ticket #7107 (closed bug: invalid)
calling $(this).attr('children') returns blank list
|Reported by:||longears||Owned by:|
I have an element: <button class="delete" children="6">delete</button>
I have a click listener on the button: $('button.delete').live('click', deleteTask);
In my deleteTask() method I am unable to access the "children" attribute of my button: $(this).attr('children')
When Output $(this).attr('children') to the console it gives me this: 
This is the same behavior as if I were to try to output an attribute that doesn't exist.