單項(xiàng)選擇題

獲取頁(yè)面中所有jpg格式的圖片,以下寫(xiě)法正確的是()。

A.$("img[src$=jpg]")
B.$("img[src^=jpg]")
C.$("img[src=jpg]")
D.$("img[src*=jpg]")

微信掃碼免費(fèi)搜題