I read several posts about usinq quotes in jQuery and could not form my own request. I have to check the span tag for a specific line. The line I'm looking for is: role = "alert" (it has double quotes around the warning by words.
$("span:contains('role="alert"')").each(function() { alert($(this).text()); });
Can someone provide a request for this?
source share