Questions tagged as 'javascript'

2
answers

How can I clean the fields of my form?

I am using PHPMailer, when sending the data to the GMail email but after clicking "accept" in the alert verifying that the email was sent, my fields are still full of the information I sent, does anyone know how I can reset them? ? Thi...
asked by 16.05.2016 / 01:10
1
answer

Sum of results in Javascript

This script performs the function that when I give a button, a number is incremented and in the other part it is multiplied by the value given in the variable. What I want is for the final results of each of them to be shown to me in an input...
asked by 23.05.2016 / 13:16
1
answer

Stream error when invoking a REST service in Spring MVC with two javascript objects

Greetings estoyr trying to pass as parameter two JSON objects to a REST method that is in a rest API in Spring MVC , I'm using a service type factory in AngularJS to make the call to the method. The server responds with an error...
asked by 31.05.2016 / 19:23
2
answers

JavaScript does not work in API 17 and up

I made the webview of a web app and it works perfectly with versions of API 16 below. However, from the Jelly Bean MRI (API 17) onwards, there are various errors (depending on the API version) in the JavaScript. I read that you have to add a new...
asked by 31.05.2016 / 17:05
1
answer

Restart time with jquery from a website

$(".intime2").delay(2000).fadeIn(0); setInterval(function() { $('.outtime40').fadeOut(0); }, 40000); I need to be able to restart the time by going over a div in a jquery so that the time-delay functions are restarted...
asked by 01.04.2016 / 00:53
2
answers

Call JavaScript in a bean

What I want to do is the following. When a request is registered in the database in the interface a message of successful registration is shown, the message that I must put is one of SweetAlert . I use JavaServer Faces and I want to k...
asked by 24.05.2016 / 13:10
1
answer

error with scripts

I have the following javascript function. but it does not manage to execute correctly. //Para mostrar la forma de pago dependiendo del Estado function mostrar_formaPago(estado) { var contenedor, m; contenedor = document.getElementById...
asked by 24.05.2016 / 13:02
1
answer

popup window without Wordpress plugin

I created a popup window with html, css and js all in a .html file, I want to incorporate that popup in the "home page" that I'm designing in Wordpress with Avada Theme and that you see nothing else when loading the page. I've already tried with...
asked by 26.04.2016 / 18:57
1
answer

How to send from a servlet with gson to run a field with the typehead.js library?

When I place json locally, the autocomplete works. I'm using the tagsinput boopstrap library. /*var equipos = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('text'), queryTokenizer: Bloodhound.tokenizers....
asked by 09.05.2016 / 06:46
1
answer

how to show two divs each time you press the next and previous buttons with Jquery

What I need is to do a kind of paging but only with buttons back and forth and show me only two divs, I have the following code, but this only shows a single div at a time: $(document).ready(function(){ $(".divs div.panel").each(f...
asked by 16.06.2016 / 18:20