0
간단 jQuery를이 HighSlide iframe이 팝업 내부 작동하지 않습니다 작동하지 않습니다jQuery를이</p>가 <p>좋아요 ... 여기에 내가 무엇을 정확히 ....
<html>
<head>
<title>test</title>
<link rel="stylesheet" type="text/css" href="http://cdn.example.com/plugins/highslide/highslide.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="http://cdn.example.com/plugins/highslide/highslide-ie6.css" />
<![endif]-->
<script async src='//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>
</head>
<body>
<a href='update.php' onclick="return hs.htmlExpand(this, { objectType: 'iframe', allowWidthReduction: true })">update</a>
<script type="text/javascript" src="http://cdn.example.com/plugins/highslide/highslide-full.js"></script>
<script type="text/javascript" src="http://cdn.example.com/plugins/highslide/highslide.config.js" charset="utf-8"></script>
</body>
</html>
여기가
<?php
echo "<head>";
echo "<script async src='//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>";
echo "</head>";
echo "<body>";
?>
<script>
$(document).ready(function(){
$('#isMain').click(function(){
if(this.checked){
$('#subCats').hide();
}else{
$('#subCats').show();
}
});
});
</script>
<?php
echo "<form action='' method='post' role='form'>";
echo "<input type='checkbox' name='isMain' id='isMain'> Is Main Category?<br>";
echo "<select name='subCats' id='subCats'>";
echo "<option value='noway'>--SELECT--</option>";
echo "<option value='1'>Games</option>";
echo "<option value='2'>Music</option>";
echo "</select>";
echo "</form>";
echo "</body>";
?>
update.php 의 코드 하지만 언젠가 jQuery 숨기기 쇼 언젠가 잘 작동하고 언젠가 작동하지 않습니다 ... 정확히 여기에 문제가 무엇입니까 ???
는 콘솔에 어떤하는 오류를 받습니까 : iframe이 팝업에서 사용 http://jsfiddle.net/roadrash/rX4Bc/
페이지 :
데모 코드를 사용하고 계십니까? 데모 해보니? –