如何在JQuery中选择以下内容?
<div class='A'>
<span class='B C'>
<p class='C D E'>
</p>
</span>
</div>
以下内容尚无效。
$('div.A > span.B.C > p.C.D.E')
答案 0 :(得分:0)
你可以.find()
http://ec2-54-213-242-40.us-west-2.compute.amazonaws.com/BlueDrive/bluedrive/drive/public/
public class GeofenceTransitionsIntentService extends IntentService { ... @Override protected void onHandleIntent(Intent intent) { ... if (geofenceTransition == Geofence.GEOFENCE_TRANSITION_ENTER) { //Create WiFi scan receiver WiFiScanReceiver wifiScan = new WiFiScanReceiver(); registerReceiver(wifiScan, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)); //Scan WifiManager wm = (WifiManager) getSystemService(Context.WIFI_SERVICE); Boolean scanStarted = wm.startScan(); } }
:获取当前匹配元素集中每个元素的后代,由选择器,jQuery对象或元素过滤。