jquery怎么用if else

2025-03-29 02:32:36
推荐回答(1个)
回答1:

按照javasrcipt的用法就行
比如
if( $("body")){
alert("yes");
}else{
alert("no");

}