Posts by Mateus Saggin • 240 points
9 posts
-
3
votes1
answer322
viewsA: Error rendering with jQuery Ajax
It was supposed to be working. No error in the console? The function addOrder ta really being called? If you inspect the element #orders don’t have anything? They seem like dumb questions, but…
-
2
votes2
answers958
viewsA: Error in modal call with bootstrap 4 and jquery with id= "#"
The problem is not the href, it does not conflict. The problem with your code is that in the id is with #. Removing will have no problems. Follow the corrected code below: <div class="modal fade"…
-
0
votes1
answer26
viewsA: Enable time in datapicker
From what I understand you intend to make available the days and hours from the day, hours and minutes at the time, right? If that’s it just use: moment().milliseconds(0); Using…
-
0
votes1
answer1364
viewsA: How to receive data in JSON (REST)
Using dataType: "json" you need to make sure that the server response is in JSON format, in the case of webhookinbox default answers with text only OK. As used above, the post will give error, but…
-
0
votes1
answer55
viewsA: Request Ajax in Forms
Fala @Gabriel, Now I understand your question, I would change the code to treat the 200 and not the OK. Following example: function sendForm() { $("#divSucesso").hide(); $("#divError").hide();…
-
1
votes1
answer590
viewsA: Doubt about ajax url
In the first case (URL: url): url is a previously defined variable in the code of your file . js where is the function you mentioned, for example: var url = 'http://seusite.com.br/api/getUser'…
-
0
votes2
answers61
viewsA: How to set id= with ' instead of "
Only changing the order of the tiles works. If that’s what I understand and you need the id to be in id='test format' var x = "<label id='idteste'>Testando" + "</label></div>"…
-
1
votes2
answers2982
viewsA: Change icon automatically by clicking
In the second Password field2 you do not need to pick up the button through the class. In the onClick event you are already passing button element by calling the shape function show(this). And you…
-
1
votes1
answer103
viewsA: Double click Jqgrid does not work in Cellular
Daniella already used the customization of the double click function below and works perfectly in both mobile and desktop. var touchtime = 0; $(".target").on("click", function() { if (touchtime ==…