jquery and operator in if code example Example: jquery OR operator $('[myc="blue"],[myid="1"],[myid="3"]');