Posts by Rafael Rezende • 82 points
4 posts
-
0
votes1
answer60
viewsA: jQuery Add class to dynamically generated element with click, but only on one of them and click on another, remove from the other elements
It’s Arthur, all right... Let’s look at your code: $("#lista-tarefas").on("click", "li", function () { $("li").addClass("selected"); }); This part of the code means the following: Select all…
-
3
votes1
answer96
viewsQ: Bring results from two tables (INNER JOIN error)
I have the table secretariats with the following structure: And the worker table with the following structure: I related the worker table to the secretariats table through the following list: That…
-
2
votes2
answers443
viewsQ: How to create Associative Array in javascript, json, how to manipulate?
It’s the first time I’ve dealt with this situation, so I don’t know exactly how to get around it. The fact is, I have a form with several inputs, divided by sections: In Experience Tab, I fill some…
-
1
votes1
answer85
viewsQ: Webservice Php without Lib
Whoa, I took a look at Stack behind a simple question, but it’s getting me confused. Knowing the concept of Webservice is relatively easy, but practice is the focus of this issue. I saw some other…