Posts by Junior Libardoni • 108 points
7 posts
-
1
votes2
answers518
viewsA: Show/ Hide Fields using radiobutton and jQuery
Place in the line below: $(function(){ that: $('#divWelcome, #divObservacoes, #divRetornoCliente').hide();
-
0
votes1
answer794
viewsA: Submit form when loading the page
It may be that your form is redirecting after being sent to the same link where it is, then it will submit again. Taking advantage of this way of writing seems cleaner and simpler. $(function(){…
-
0
votes2
answers82
viewsA: Error showing and hiding a div with Jquery
In jquery Voce you can use the function hide() to hide and show() to show, try using this to see if it solves.
-
0
votes2
answers79
viewsA: Jquery does not find form
Sometimes javascript runs before your form is loaded, so you didn’t add your event to the form and it might be that. use that way: $(function(){ //executar somente quando o html for totalmente…
-
1
votes2
answers1828
viewsA: How to save data from a form automatically?
Run the following code $(function(){ editor5 = CKEDITOR.replace( 'editor5' ); setInterval(function(){ $.ajax({ type: "post", url: "link", data: { valor: CKEDITOR.instances.editor5.getData() } }) },…
-
0
votes1
answer70
viewsA: Message while form is being sent
Add a div with the "message id" $("#form_trab"). on("subimit", Function(){ $("#message"). html("Form is being sent."); })
-
1
votes1
answer196
viewsQ: How to run shell script to restart server by application
I need to run a shell from Rails with a small difference, I need the script to continue running even if the server(puma) process is killed. I added an update system inside my application, but I need…