cauz i have to use a normal dom-element ,
the dom-element is like this : document.getElementById('a') or document.createElement('div')
so my mean is change $('#a') to document.getElementById('a')
can jquery do this ??
thanks
cauz i have to use a normal dom-element ,
the dom-element is like this : document.getElementById('a') or document.createElement('div')
so my mean is change $('#a') to document.getElementById('a')
can jquery do this ??
thanks
You can reference the DOM element with .get(0) or [0], eg $('#foo')[0] assuming there is just one.