开发者

can't find variable: $j

开发者 https://www.devze.com 2023-01-03 11:51 出处:网络
Why do开发者_如何转开发 I encounter this can\'t find variable: $j when i use this method function myMethod(htmlObject)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消