Questions tagged as 'ajax'

1
answer

Doubt to save a data and update a div then

Good morning everyone. Just with jQuery and Ajax I can insert a data into the database and then immediately update a div on the page? Thank you.     
asked by 23.03.2017 / 13:50
1
answer

Ajax with java, via jsp

I need to pass information from a component that is on the jsp page to a controler that is in java. So I understand the best way is via AJAX. Municipality component <label for="municipio"><font style="color: red">*</font&g...
asked by 16.03.2017 / 20:22
1
answer

HTTP 500 error in Drupal Ajax

For a few days, the server has made an unscheduled reboot, and since then, when attempting to edit any data in Drupal, the error below is returned. The error happens when I click the "Customize this page" button. I've tried a solution o...
asked by 11.04.2014 / 13:27
1
answer

Redirect page through the link entered in the url

I need a page that when I load it check the link typed for example: www.test.com/myphp.php=10 if given number it redirects to another page, for example: found www.test. com / myphp.php = 10 redirects to www.test.com/news/10.php. How can I do thi...
asked by 22.07.2016 / 21:21
1
answer

Update Real-time DIV [duplicate]

I would like to update only one div of a site, without updating the whole site and that this div was updated 0.1 seconds every 0.1 seconds, and that for example it was not necessary to refresh or re-enter the site. I would basically like to...
asked by 14.02.2016 / 21:04
1
answer

Load url with $ .ajax and token usage

O código seguinte não carrega url. O que está errado? var token = "XfdfdffddfdfdfferrrrrrrrrrreeeeeeeeeeJ777K"; var url = "https://producao-talcoisa.com/api/Produto/PesquisarConteudo/"; $.ajax({ url : url, type :...
asked by 16.01.2015 / 12:56
2
answers

ajax function returns [OBJECT OBJECT] [closed]

Good morning guys. I have a problem. I have created a function to get results in the Onchange of a select via ajax The problem is that in this input 'qtde' is printing the following msg [OBJECT OBJECT] Someone knows what's wrong with me...
asked by 20.07.2018 / 16:38
3
answers

Ajax not sending requisition

I can not see where the error is. Accusemeofthiserror$("#btnSalvarArquivo").on('click', function () { var EspecieArquivo = document.querySelector('input[name="rdEspecieArquivo"]:checked').value; var tipoArquivo = 0; var erros =...
asked by 09.08.2018 / 16:28
1
answer

Problem with multiple forms on same page

I was wanting to use a multi-form script, but I can not. So I'm generating a script for each form with unique IDs for each field and form. I'm not able to inhibit the behavior of the form, every time I click the submit button and reloaded....
asked by 04.06.2016 / 22:06
1
answer

Ajax with Python - I want to call function that is in default

I'm looking to do a validation on the MySQL Bank via Ajax. I created a function called validaCNPJ () which is in the controller called Default . But I do not know how I put this function in the Ajax parameters. Can anyone give me the path...
asked by 06.06.2016 / 14:41