I\'m new to Javascript and I\'m try to understand some code. I don\'t understand and I can\'t find any documentation about the # sign.
#
$(function ()
That isn't vanilla Javascript! That's jQuery!
In jQuery you can select elements via CSS style selectors. In this case, #x is a CSS selector to select all elements with the id x.
#x
x