can't find variable: $j
Why do开发者_如何转开发 I encounter this
can't find variable: $j
when i use this method
function myMethod(htmlObject)
{
var buttonTags = $j("button",htmlObject);
...
}
My psychic powers tell me you're trying to use jQuery. In which case the name of the function is just $
(or jQuery
) not $j
.
精彩评论