Select from following answers:- $(#Id)
- $('#Id')

- $(.Id)
- $('.Id')
- All Above
$('#Id') is used to select all the elements with the Id of 'Id'(Note: 'Id' is an example Id and dont get confused).
'#' tag is mandatory to specify before the Id name in the selector.
Show Correct Answer
Asked In: Spotted while Learning |
Alert Moderator