Posts by ACRodrigues • 58 points
2 posts
-
1
votes1
answer43
viewsA: Grab the value of a select and play on js
You can do it in two ways: javascript only or using the Jquery library. Javascript var select = document.querySelector('select'); select.addEventListener('change', function() { var option =…
-
3
votes1
answer2683
viewsA: Use status code 422 for Invalidargumentexception type exceptions
The class of status code 4xx is intended for situations where the error seems to have been caused by the customer. I mean, using the status code 400 or 422 in a general way the application will be…