ID/Class Selector
- by Ionut Staicu
Hi. I have some kind of problem with jQuery selectors.
Let's say i want to select $('#elementID') but the elementID is a variable.
There is any other possiblity to do this other way than var variable = elementID; $('#'+variable) ? I mean without specifying the # anywhere else?
Thanks!