Posts by Kelvin Floresta de Andrade • 16 points
2 posts
-
-3
votes1
answer108
viewsA: How to run a task every month using Java
LocalDate date = LocalDate.now(); boolean isFirstDay = date.getDayOfMonth() == 1; if (isFirstDay) executaTarefa(); But I advise to do this by operating system, on Windows has the task scheduler and…
javaanswered Kelvin Floresta de Andrade 16 -
0
votes3
answers292
viewsA: How to use a two-dimensional array with Javascript (jquery)?
You are re-creating the div with the serie class and not checking if it already exists. var divNomeGrupo =$('div:contains(nome_grupo)'); if (divNomeGrupo){ divNomeGrupo.parent().append( conteúdo );…