Posts by Lucas • 69 points
5 posts
-
-1
votes1
answer109
viewsA: Remove "blink screen" effect by pressing a button!
function chamaArduino(id){ var botao = $("#"+id).value; $.ajax({ type: "POST", url: botao, success:function(data){ console.log(data); }, error:function(xhr, status, error) { var err =…
-
2
votes2
answers40
viewsA: Check if edge is applied
In your code you are checking if the button has the class "selBordaCor", but you are adding in "divCor". Change this part of the code: $(document).ready(function () { $('#Finalizar').click(function…
-
1
votes2
answers1781
viewsA: Pick radio button value and check what is selected
Put the code so that we can base ourselves on what you want. And how much the question is best to do with javascript. as the example below. var radio = document.getElementsByName("check"); function…
-
0
votes1
answer77
viewsA: Date Picker Jquery display in d/m/Y format and write to database Y-m-d format
Try to use that: $dataEnviadoPorPost = str_replace("/", "-", $_POST["calendario"]); echo date('Y-m-d', strtotime($dataEnviadaPorPost));
-
1
votes1
answer234
viewsA: Add and remove button function - to clone form
You could do as described below. However you will have to take care of duplicate ids at the time of form Ubmit. You can work on javascript to change the duplicate id. Could you explain to me why you…