Questions tagged as 'ajax'

1
answer

Redirection in ajax does not work

I have a function that keeps grades: <script> function guardarNotas(){ var object = []; $(".nota").each(function (index, element){ object.push({ 'idMatricula': $(element).data('idMatricula'), 'idE...
asked by 19.06.2017 / 05:53
1
answer

Reload / Restart Google reCAPTCHA

I am making a form to send messages from my website, which I am doing with jquery and ajax , using the reCAPTCHA of Google with the title. The messages are sent correctly, but the point is that when sending the email the...
asked by 27.06.2017 / 20:36
1
answer

Rails. Render a partial within another partial with tabs

In my show.html.erb I have a nav-pills . Each of those " pills " have a tab-panel. Well, within these tabs panel I put text and, until now, I had not tried to render a partial one. The functionality of pills is made...
asked by 29.07.2017 / 00:45
1
answer

Clean calendar bootstrap-datetimepicker

I have this html code that when choosing a country loads the days in the calendar: <div class="row"> <div class="col-md-12"> <div class="form-group"> <label>Pais</label> <sel...
asked by 05.06.2017 / 08:35
1
answer

Retrieve variable sent in JSON in datatables

Dear programmers, I come to you based on the following problem. I work on a system and I'm using Datatables. So far I have not had major problems, but now I'm with one that is pulling green hairs. I have in my mysql Database, a table called labo...
asked by 11.06.2017 / 03:32
1
answer

Fill modal with data through ajax and web services

I have a project where I must fill a modal window from the database using Ajax, I will explain the project, I have the web services rest in C # and I am consuming it from Java 2EE with servlet and a class called Web Services, but at the momen...
asked by 22.05.2017 / 05:16
2
answers

Problem redirecting view from another controller

This is my sending function, I have taken from examples that I have seen in this forum function enviarDatos() { var params = { valor1 : $("#usuario").val(), valor2 : $("#clave").val() }; $.aja...
asked by 10.05.2017 / 18:25
1
answer

Ajax in ruby on rails, the remote process does not work: true

I have a form on the home page (all created with scaffold), which I would like when I click on the publish button, I will add the publication to the same home via ajax. add remote true to the form = form_for @post, remote: true do |f| e...
asked by 07.06.2017 / 20:50
1
answer

Show result in 2 text boxes with ajax

I want to obtain two results through a query by ajax, for now I only get one and I show it in a text box: index.php: <script> function enviar(){ //var n = document.getElementById("nombre").value; var datos={ "...
asked by 20.10.2017 / 00:39
1
answer

Pass data from localstorage to php

I need to pass a data of localstorage to a variable php , and I store the data in a script on the same page but I get null to php , I do not know what I'm doing wrong or what I'm missing, I attach my code, thanks in advance for...
asked by 01.06.2017 / 16:48