Posts by goo s • 1 point
1 post
-
-1
votes2
answers74
viewsQ: getDate() from Javascript returning NULL
(function(){ var data = new Date(); var dia = document.querySelector('.table tbody tr > td'); dia.textContent = data.getDate(); })(); I have this function in Javascript. It always returns NULL.…