jquery check if attribute has value