Posts by Eldius • 141 points
5 posts
-
0
votes2
answers348
viewsA: Cancel redirect when sending a form
As you are sending the data via Ajax, you would not need the Ubmit (neither the - - nor the event = $('. form-car'). Ubmit())... You could modify your code as follows: $(function() { $.ajax({…
-
0
votes3
answers102
viewsA: Check number in database
The simplest way to do this is to use an error handling, using a Try catch and, if an error occurs notify the user, but if the requirement is to check this while the user is editing, maybe a…
-
0
votes1
answer58
viewsA: Graph without image jsp
Some possibilities: How you are referencing this image on the page? You tried to run this query in the database to see if it returns data? Tried to put ex.printStackTrace() in the catch to see if…
-
0
votes4
answers654
viewsA: Pass parameters in JS functions
I believe you’re putting in the element something like: <button onclick='minhaFuncao(val)' /> The function will always receive the event object (Event)... The simplest thing to do (in my…
javascriptanswered Eldius 141 -
1
votes2
answers126
viewsA: Which method is most efficient for scaling, using a redis a service or redis on disk?
In principle disco is always faster than network, especially if you have to go through the internet... If the volume of data you intend to use is not too large, there would be no problem in putting…