Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function () {
window.onclick = function (e) {
$("div").animate({ 'marginTop': e.clientY}, 1000);
$("div").animate({ 'marginLeft': e.clientX}, 1000);
}
});
</script>
</head>
<body>
<div id="test">I'm watching you :)</div>
</body>
</html> 
The most helpful JQUERY solutions
plugin get client ip address using jqueryJQUERY Click to see more ... 10.5K 1.8K