If I look at the JQuery doc @ http://api.jquery.com/jQuery/#jQuery2, it says
...If a string is passed as the parameter to $(), jQuery examines the string to see if it looks like HTML ...
However, what if I want this behavior to occur all the time? I'm passing in a variable to $(), and I always want the variable to be interpreted as a HTML, not selector.
One way to do it is wrap the variable with a <span> tag, I don't want to add unnecessary DOM to the tree.
$function does, what, four different things, at least two of which aren't even distinguished by the type of the argument, but still...do you have an example?)$actually does 7 distinct things, 6 of them documented, the other not so much (see the syntax for setting property values on an object literal). What a mess.