标签: jquery
请参阅以下代码:
var mySelect = $("#mySelect"); //I want to check if optgroup with label myLabel exists inside this select if(mySelect.find("optgroup[label='myLabel']").html() == null)){ ///// code }
find()语法可能有误。请帮我找到正确的语法
find()