인라인 대신 jquery를 사용하여 구현하고 싶지만 작동하지 않습니다. 인라인은 잘 작동합니다. jquery를 사용하고자하는 또 다른 이유는 사용자가 두 개 이상의 체크 박스를 선택하면 URL에 이미있는 값이 더해 지거나 + '두 번째 CheckBox 값'이 다음과 같이 추가되어야합니다 : "http : // mysite/sites/dev/contact- us/Pages/LocationSearchTestPage.aspx? s = bcs_locations & k = 사무실 또는 병원 " infront와 OR 다음에 공백이 있습니다. 어떻게해야합니까? 누군가 나를 도울 수 있습니까?onclick 확인란 on URL에 체크 박스 값을 추가하십시오.
Offices<input name="LocType" type="checkbox"
value="Office" onclick="window.location='http://mysite/sites/dev/contact-us/Pages/LocationSearchTestPage.aspx?s=bcs_locations&k=Office'; return true;">  
Hospitals<input name="LocType" type="checkbox"
value="Hospital" onclick="window.location='http://mysite/sites/dev/contact-us/Pages/LocationSearchTestPage.aspx?s=bcs_locations&k=Hospital'; return true;">  
Facilities<input name="LocType" type="checkbox"
value="Facility" onclick="window.location='http://mysite/sites/dev/contact-us/Pages/LocationSearchTestPage.aspx?s=bcs_locations&k=Facility'; return true;">
당신은 이미 [거의 같은 질문을 게시했습니다] (http://stackoverflow.com/questions/9437952/onselect-checkbox-add-selected-value-to-the-url-as-querystring), 누군가 대답에 어려움을 겪었고 두 사람이 대답 한 [다른 질문] (http://stackoverflow.com/questions/9439587/onclick-checkbox-event)이 있습니다. – nnnnnn