I have a class selector which will return about 20 elements. Out of that, only 5 or 6 will have id as their attributes.
My area of interest is only those 5 or 6 elements.
How do I get elements with ID as their attributes? And this can contain any input, checkbox, selects or any form element.
The attribute selector is sufficient:
This will select all elements that have the
idattribute.