Hi

How can I check if a html tag has an "id" attribute or not, using Javascript and also using jQuery? (I want both solutions, please).

Many thanks