Posts by Rafael Lopes • 131 points
3 posts
-
1
votes2
answers1530
viewsA: Function reset form in JS does not work
HTML has this native function. <input type="reset" value="Reset"> If you want to enter a confirmation, you can intercept the reset function as follows: var form =…
-
1
votes2
answers54
viewsA: Picking up data json
With this code, you can organize the categories for example, but I don’t know exactly if this is the way you should go. //source…
-
1
votes1
answer66
viewsA: Ajax no popula select on second request
Why your script tag is inside the Select tag? When you do $('#sub_categoria1').html('TEXTO'); or $('#sub_categoria1Modal').html('TEXTO'); You’re deleting all your script, so the second time it…