Questions tagged as 'ajax'

1
answer

Ajax JSON response with HTTPS protocol

Recently I installed a web application and it works correctly, absolutely everything, the problem is that when I install an SSL certificate, and place it in HTTPS protocol, the ajax functions that return a JSON type response give me an error, an...
asked by 10.03.2017 / 16:58
1
answer

Problem sending form to PHP with AJAX

Good, I'm starting with some of this so you may see a lot of mistakes, if you'd like to comment, I'd appreciate it, let's start ... THE IDEA: Create, show, mark as done or delete something that we will call tasks in a "database" witho...
asked by 27.11.2016 / 20:58
3
answers

JQuery Array in prestashop

I've been stuck with a prestashop script for a couple of days. I need to bring some values from the database and I'm doing them using jQuery, since those values depend on what a user has selected on the web. The problem is that I'm not doing it...
asked by 28.11.2016 / 13:42
1
answer

how to autocomplete data with ajax and php?

I have a table in mysql called clients with the fields (id, client_name, client_address, client_phone, client_ email) and I show the data in the following table through a modal window Now what I want to do in another page is to place an in...
asked by 30.11.2016 / 04:17
1
answer

Syntax. Print var HTML in AJAX, doubt

I'm a little lost in AJAX and I'm learning. I have a couple of specific doubts and this is one of them. If I write this: $("#div_Result").html("<p>"+getname+getsurname+"</p>" ); the result gives me this: "Name""Sur...
asked by 08.11.2016 / 11:33
1
answer

Block access using login with ajax on the client and php on the server

I'm doing an app in Javascript and I need to block access to unlogged users, in PHP it's easy using $ _SESSION but with JS I can not find a way Thanks for the help     
asked by 27.12.2016 / 14:54
3
answers

Problem when inserting data in MYSQL with Codeigniter and Ajax

Good morning, What I want to do is that by pressing "Enter" I insert a new tag into the database. I created my script.js file: $(".inputTag").keypress(function(e){ if(e.which == 13) { $.ajax({ type: 'POST',...
asked by 22.03.2017 / 13:17
3
answers

Send checkbox as fix in ajax and process it in PHP

I have a problem when sending the value of several checkboxes through ajax. For example I have: <input type='checkbox' name='ids[]' class="checkBoxGroup" value='1' /> <input type='checkbox' name='ids[]' class="checkBoxGroup" value=...
asked by 18.05.2016 / 18:46
1
answer

How to change Action according to condition in Ajax url?

I have the following sript: $('a[id^=asociar-]').click(function (e) { e.preventDefault(); var params = { id: parseInt($(this).attr('id').substring(8)), proveedorId: $('#proveedorId').val() };...
asked by 07.05.2016 / 04:22
2
answers

Modal Bootstrap is only shown once as modal

I work in an ASP MVC application, I have the need to show an image in a Modal window using bootstrap, the modal window will be called from a cell in a table, this is my HTML to shoot the modal: <td class="celda"> <!--Aqui es donde m...
asked by 25.04.2016 / 18:18