다른 .js 파일에서 .js 파일을 가져 오는 방법을 알고 싶습니다. CSS다른 jss 파일 안에 jss 파일을 가져 오는 방법. 다른 css 파일 안에 css 파일을 가져 오는 방법과 동일합니다.
all.css 파일은 다음과 같이 간다 파일 ..... 파일 내 custom.js에서 수입 JS/JQuery와-1.7.1.min.js 싶어
@import "simple1.css";
@import "simple2.css";
@import "simple3.css";
@import "simple4.css";
같은 방법으로
custom.js 파일이 다음과 같이 변경됩니다.
$(document).ready(function(){
$("#AddImage").html("<img src='"+clientID+".jpg'/>");
});
나는 내 custom.js 파일에 포함 할 JS/JQuery와-1.7.1.min.js
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
같이 포함하지 않는다.
도와주세요! 미리 감사드립니다 !!!
http://stackoverflow.com/questions/950087/include-javascript-file-inside-javascript-file –
아니요. 나에게 맞지 않습니다 .... 몇 가지 간단한 코드가 있습니다. – Christina