Posts by Felipe Torres • 34 points
3 posts
-
1
votes1
answer218
viewsA: Notification with Onesignal
Yes. I always use this service. By the Cordova platform, phonegap and Intel XDK etc... window.plugins.OneSignal .startInit("coloque aqui seu app_id ")…
-
1
votes1
answer50
viewsQ: Javascript return function
var pegaNomeMedico = { nome : function(){ banco.transaction(function(tx){ tx.executeSql(sqlMedicos.selecionaTodosOsMedicosSemFiltros, [], function(tx, resposta){ var linha = resposta.rows.length;…
javascriptasked Felipe Torres 34 -
-1
votes3
answers42573
viewsA: Calculate difference between two dates to validate date fields
Simple and functional code. Use in various systems my: $("#data-termino-ausencia").focusout(function(){ var dtI = $(".data-inicio-ausencia").html().split('/'); var dtF =…