Posts by efreitasn • 63 points
2 posts
-
5
votes1
answer112
viewsQ: What is the difference between element.push("value") and element[element.length]
Hello. Whenever I need to add a new index in an array I use the second method, but I see some using the first one and I don’t know if there is any difference between them.
javascriptasked efreitasn 63 -
1
votes1
answer355
viewsA: PHP Ajax - state combobox - cities
In the.php states file, the value of each option is the id_local field of the bd, ie to find out what was the selected state and return the cities will have to put: WHERE id_local = $estado and not…