

Jquery Ve Diğer Kütüphanelerin Çakışması
-
<html>
<head>
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
jQuery.noConflict();
// jQuery İşlemleri Alanları
jQuery(document).ready(function(){
jQuery("div").hide();
});
// $ değilde jQuery Şeklinde Kullandığımız İçin Prototype Artık $(...) İle Kullanılabilir.
$('someid').hide();
</script>
</head>
<body></body>
</html>
Toplam Hit: 2574 Toplam Mesaj: 1