« first day (947 days earlier)      last day (3170 days later) » 

02:53
I am using this thing but it doesn't show any alert box
error: function(jqXHR, textStatus, errorThrown) {
alert(jqXHR.status);
alert(textStatus);
alert(errorThrown);
}
1 message moved from JavaScript<ball pit>
 
3 hours later…
I like how they loop over the array to console log it.
1 message moved from JavaScript<ball pit>
1 message moved from JavaScript<ball pit>
 
3 hours later…
08:43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
div {
border: 1px solid black;
width: 300px;
height: 200px;
}
</style>
</head>
<body>
<div></div>
<p draggable="true">hello</p>
<script type="text/javascript">
var div = document.getElementsByTagName("div")[0];
var p = document.getElementsByTagName("p")[0];
div.addEventListener("drop", dropHandler);
function dropHandler(event) {
alert("dropped");
}
</script>
</body>
</html>
1 message moved from JavaScript<ball pit>
 
13 hours later…
21:44
SO should I create a new function? Something like:
function interval(timerCtrl($scope), $interval){
$interval(timerCtrl(), 1000)
}
1 message moved from JavaScript<ball pit>

« first day (947 days earlier)      last day (3170 days later) »