What does the '#' sign mean in JavaScript? -
i'm new javascript , i'm try understand code. don't understand , can't find documentation # sign.
$(function () { $("#searchterm").autocomplete({ what $("#searchterm") mean?
in javascript? nothing special. part of string.
the $ function might it, it hard tell $ function is.
there lot of libraries provide $ function acts kitchen sink library. include prototype, mootools , jquery. 1 looks jquery, in case argument string containing css selector, # indicates start of id selector.
this "selects single element given id attribute".
Comments
Post a Comment