I have a problem to add JQuery in file this is my code:
<html>
<head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'>
</script>
<script>
$(document).ready(function(){
$('#k1').click(function(){
$('#k2').animate({marginLeft:'-50px'});
$('#k3').animate({marginLeft:'-450px'});
$('#k4').animate({marginLeft:'-450'});
});
});
</script>
</head>
<body>
<div class='wrapper'>
<div class='mainKotak'>
<div class='wKotak'>
<div class='kotak' id='k1' ></div>
</div>
</div>
</div>
</body>
</html>
the code above is in
<?php
echo" ";
?>
the jquery isn't work , please someone help me because i'm newbie in jquery thanks
SOLVED i'm just use jQuery with external javascript