Message from JavaScript discussions

February 2019

— The # is for jQuery when you need to specify that the value id an id, like the . for a class


In JS the documentGetElementById function specifies that the givn value is an id, so there is no need to put the #

— $ is just like an selector

— ?

— I'm confused

— Https://

— You are mixing simple js with jQuery

— Can you tell me again in js pleas

— Var date = getElementById('dob').getFullYear();

— This is what you mean?

— Yes

— But you need to put the document