다음 html이 주어지면 type
을 기반으로 둘 다 얻을 수있는 선택기가 있습니까? 다중 값을위한 jQuery 속성 선택자
$('input[type=text || button]'); //for example, double pipes as an OR does not work
<input type="text" />
<input type="button" />
나는 워드 프로세서를 통해 갔다,하지만 난 논리 연산자를 사용하는 능력 또는 일치하는 목록을 제공하는 수단에 아무것도 찾을 수 없습니다.
가능한 중복 시도 [JQuery와 : multple 가능한 속성 값으로 선택하는 청소기 방법 (http://stackoverflow.com/questions/5471775/jquery-cleaner-way-to-select-by-multple-possible-attribute-values) –