jquery AND operation

JavaScript
$('[myc="blue"][myid="1"][myid="3"]');
Source

Also in JavaScript: