find html element by attribute jquery code example Example: get name jquery $('#yourid').attr('name')