jQuery가 포함 된 iframe 내용이 있고 iframe의 jQuery 부분이 IE에서 작동하지 않습니다 (jQuery가 사용되지 않는 부분은 정상적으로 작동하며 모든 것이 올바르게 작동합니다. 크롬 및 파이어 폭스).iframe의 jQuery가 IE에서 작동하지 않습니다.
여기서 코드이다 :
<!DOCTYPE html>
<html>
<head>
<title>iframe content</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>This heading is showing up just fine.</h1>
<div id="jQuery-generated-content">
<!-- content dynamically generated by jQuery plugin This part is not showing in iframe in IE -->
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"> </script>
<script src="pathTojQueryPlugin.js"></script>
<script type="text/javascript">
jQuery.codeToInitiatePlugin
</script>
</body>
</html>
I는 상대 및 절대 경로 있지만 운 모두 오른쪽 body 태그 후 머리 jQuery 코드를 삽입 시도. 만약 누군가가 이것에 대한 해결 방법을 알고 있거나 IE가 jQuery를 읽지 않게하는 원인이 있다면 크게 감사 할 것입니다.
미리 감사드립니다.
iframe 대신 페이지를로드하면 정상적으로 작동합니까? – Barmar
이것이 iframe 코드입니까? – raam86
예, iframe의 내용이 아닌 페이지를 정상적으로로드하면 작동합니다. – hotate17