For example, if only one of the image on the page has attribute aria-disabled = “true” , how to use a jquery selector to get this element ? And notice that not all the images have aria-disabled , some of them don’t have this attribute and some of them have aria-disabled = “false”. Only one image has aria-disabled = “true”. Thanks
eg.
$(img : aria-disabled = "true").attr(id);
Of course this should be invalid synatx
Try this