Front-Html/Jquery
jquery $를 다른것으로 바꿔서 사용
seongsland
2011. 12. 14. 18:04
이게 꼭 찾으면 쉽게 보이진 않는듯..
보통 prototype도 $를 쓰고 jquery도 $를 써서 짬뽕나던지.. 그럴때 jquery를 딴걸로 바꿔서 쓰는건데..
$q <-- query.. ㅎㅎ 괜찮아 보임!
<script type="text/javascript">
보통 prototype도 $를 쓰고 jquery도 $를 써서 짬뽕나던지.. 그럴때 jquery를 딴걸로 바꿔서 쓰는건데..
$q <-- query.. ㅎㅎ 괜찮아 보임!
<script type="text/javascript">
jQuery.noConflict();
var $q = jQuery;
var fileFilter = /js|css|php|asp|jsp/g;
$q(document).ready(function() {
alert('1');
});
</script>