How to get the value of an attribute?
Html:
sss
Get the value of attribute custom attribute Bruce:
alert($("div[@Bruce]").attr("Bruce"));
Get the content of the Div whose attribute Bruce is Yes:
alert($("div[@Bruce]").html());
alert($("div[@Bruce=Yes]"). html());