안녕하세요. jquery 함수에서 div lang 특성 값을 전달했습니다.이 기능은 IE를 제외한 모든 탐색에서 완벽하게 작동합니다.javascript 매개 변수가 IE에서 자름
While inspects in FIREFOX div look like below code.
<div lang="[email protected]@[email protected]@plain make [email protected] [email protected]@Georgia [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]" id="myCheckbox2" style="left: -3000px; top: 883px; margin: 1px;" class="checkboxArea1"><input type="checkbox" class="outtaHere" value="2" id="check2" name="f[]"></div>
While inspects in IE div look like below code.
<div style="margin: 1px; left: -3000px; top: 883px;" id="myCheckbox2" lang="[email protected]@[email protected]@plain make [email protected] [email protected]@Georgia [email protected]@[email protected]@[email protected]@[email protected]@myCheckbo" class="checkboxArea1"><input id="check2" class="outtaHere" name="f[]" value="2" type="checkbox"></div>
div lang 속성 값의 차이점을 볼 수 있습니다. 파이어 폭스에서는 lang의 모든 값을 취하지 만 IE에서 마지막 3 값은 표시되지 않으므로 마지막 값의 4 번째 값이 잘려서 IE에서이 값이 정의되지 않습니다.
어떻게 해결할 수 있습니까? 대신에 lang 속성의
를 해결하기위한 어떤'lang' 속성 에 대한 것입니다. –
속성에 대한 유용한 정보를 확인하십시오. http://stackoverflow.com/questions/1496096/is-there-a-limit-to-the-length-of-html-attributes – arunes