Posts by Luiz Bortolo • 146 points
9 posts
-
0
votes2
answers68
viewsA: I can’t get the right timestamp time
This return happens due to the date format you are sending, unixtimestamp (more info: https://www.unixtimestamp.com/). Try to adjust your code to: var moment = require('moment'); // require…
-
5
votes1
answer7857
viewsA: What is the difference between . cer, . pfx and . pvk?
Follow this translated answer of another question asked in ONLYen: What is the difference between a cer, pvk and pfx file? Windows uses the extension .cer for an X.509 certificate. These may be in…
-
0
votes2
answers2689
viewsA: Recursive Functions in Javascript
Within the recursive method it calls the method itself (recursiveness )passing the value of x - 1 until the value of x equals 0, so, as you passed the number 10, the console generated 10 x 9 x 8 x 7…
-
0
votes2
answers740
viewsA: Problems with Nan Jquery
You need the sum of the two textbox multiplied by the sum of the two spans is that? If yes follows the script below: $(document).ready(function () { $(".pizza-add-sub").append('<div class="plus…
-
3
votes2
answers511
viewsA: Protect SQL Server Database
You must open the Object Explorer do Sql, expand the Server, Security -> Logins, there you can add a user, and in User Mapping check the databases you want to allow. To allow Sql Authentication,…
-
0
votes2
answers223
viewsA: Insert value in the nearest text input
Change the script to: $(".placa").on('input', function () { $(this).parent().find("input[name$='concessionaria']").val($(this).val()); });
-
1
votes2
answers634
viewsA: Input text of hours!
Try it buddy: <script src="https://code.jquery.com/jquery-git.min.js"></script> <script…
jqueryanswered Luiz Bortolo 146 -
0
votes2
answers704
viewsA: Pass GET method by Jquery
jQuery.ajax({ type: "GET", url: "ver_imagem.php", data: { nomeVariavelServer: $("#consulta").attr("href") }, success: function (data) { $("#imagens_pn").empty(); $("#imagens_pn").append(data); } });…
-
1
votes3
answers79
viewsA: Problem to attack son and doubt in this use
The method $(Document).ready() will be called at the time of page construction, just this, if you have any posts with ajax for example in your code, after the call of this method the…