Hacker News new | ask | show | jobs
by akoeberle 4897 days ago
It shouldn't be that hard to use a attribute instead: var data = $( self ).attr(type);