왜이 링크가 작동하지 않습니까?jquery.min.js 리소스를로드하지 못했습니다.
는
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Description" content=" [wstaw tu opis strony] ">
<meta name="Keywords" content=" [wstaw tu slowa kluczowe] ">
<meta name="Author" content=" [dane autora] ">
<title>[tytuł strony] </title>
<link rel="stylesheet" href="style.css" type="text/css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".animat_kon").click(function() {
$(".animat_text").slideToggle("slow");
});
});
</script>
</head>
오류 예를 //ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js :
시작해야합니까? HTTP 또는 HTTPS 포트에 있습니까? 프레임에 있다면 크로스 도메인 스크립트를로드 할 필요가 없습니다. –
@FedericoGiust 다른 원본에서 스크립트를로드 할 수 있습니다. 그래서 우리는 JSONP를 가지고 있습니다. – Antony