Posts by Mazinho95 • 13 points
7 posts
-
0
votes1
answer31
viewsQ: Put a value in front of another HTML tag using span
I want to do my resume and put it on git pages, and on the part of personal data, I put for example: Habilitação: B Estado Civil: Casado I arrived at a solution that did not please me very much, I…
-
0
votes1
answer28
viewsA: Error when passing the result of a json array to html;
I discovered the mistake, I was using two events with the same id, then one nullified the other, after having placed the ajax request under the e. preventDefault(); worked perfectly.…
-
0
votes1
answer28
viewsQ: Error when passing the result of a json array to html;
I am with the following situation, I have a page that receives the name of a city, between São Paulo or Osasco, both the request of going via Ajax, and the data in json is coming back from php to…
-
0
votes2
answers123
viewsQ: Take a JS variable and move to a PHP class using Ajax with Jquery
I need to create a project that consumes an api with data in json, I created the interface, but when it comes to taking the result and sending it to a class in php, but when I press the send button,…
-
-1
votes1
answer1008
viewsQ: Write a function: int Solution(int A[], int N);
My teacher gave me this problem but I can’t do it int solution(int A[], int N); that, given a matrix A of N integers, returns the smallest positive integer (greater than 0) that does not occur on A.…
-
0
votes4
answers562
viewsA: Display the output of a JS variable through Jquery in an html input
var textoUser = $("#txtFieldUser"); var textoGanhador = $("txtFieldGanhador"); var computerChoice = Math.random(); if…
-
1
votes4
answers562
viewsQ: Display the output of a JS variable through Jquery in an html input
Good afternoon! I’m playing a simple game of joking I created three inputs, one to enter the value user wants and another to show what was selected by the program and finally one to show the result.…