본문으로 바로가기
test로 시작하는 이름
$("input[name^='test']")

test를 포함하는 이름
$("input[name*='test']")

test를 포함하는 이름 (공백포함)
$("input[name~='test']")

test로 끝나는 이름
$("input[name$='test']")

이름이 test가 아님
$("input[name!='test']")

div중 class가 test로 시작
$("div[class^='test']")