jQuer 選擇器
[ attribute ]選擇器用于選擇具有指定屬性的[attribute]元素。
$("[attribute]")
選擇具有target屬性的每個元素:
$(document).ready(function(){ $("[target]").css({"background":"green", "color":"white"}); });