JQuery selector by custom attribute value and element type

Viewed 1904

I need to select the element by custom attribute value where the element type should be image. I know the following selectors to get the element

By element type

var imgElms = $("input[type=image]");

By custom attribute

var cusElms = $("input[myAttr='org']");

I need mix of both selector to get all image element that has custom attribute myAttr='org'.

1 Answers
Related