Questions tagged as 'ajax'

0
answers

AJAX return error

I'm having a problem with Ajax, I have a button that returns html data by AJAX, when I use it on the homepage (home) or categories in this template link the request data comes back correctly when I request the button that calls AJAX but when I...
asked by 23.04.2018 / 16:45
1
answer

Ajax filter on wordpress

Hello, I would like to know if anyone has done any functionality similar to this site, link filtering the post using a form and ajax so you do not need to reload the page. I have the following situation, I created a custom post type reselle...
asked by 13.03.2018 / 20:52
1
answer

Insert multiple products + a rental date for each

I have a tremendous doubt and no way to solve it. I need to select products to rent for a client and give them a rental date, but I do not know how to present it in the system in a simple and functional way. Example: DB Products 1 -...
asked by 15.02.2018 / 14:37
0
answers

Datepicker BeforeShowDay using web api

Good evening, I need to make a calendar (using datepicker from jquery ui), where the dates in the database need to be highlighted. But I have no idea how. I am using a webapi (local), which takes the Sql Server information, the api web backend i...
asked by 12.02.2018 / 04:51
0
answers

Asynchronous Request Jquery + Ajax + PHP returns empty object

I need to check if cnpj is already registered in the database and return to the client if it already exists in the database, the problem I do not want to happen refresh the page so that the user does not lose the data typed, the php script is wo...
asked by 31.03.2018 / 18:25
0
answers

What is this error net :: ERR_SPDY_PROTOCOL_ERROR when uploading?

I'm using Google Chrome to run some tests on an application that I'm servicing. Specifically I'm using Ajax to be able to upload a ZIP file. When I test on my machine locally, uploading occurs normally. But when I do this in production, if th...
asked by 07.03.2018 / 13:58
1
answer

List by jquery and submit action

I have this script, which when selecting a state, it loads the counties that are working, but if I try to save by a submit action it shows the error. But what the user chose in the municipality goes away, and the municipalities go blank. <...
asked by 17.01.2018 / 04:14
1
answer

Save a json file with php inside a bracket and separated by a comma

I need a help in php, I only know the basics in the language and I'm wanting save a data.json file, where the form data is sent via post to a data.php file by ajax. in my code the data.php is as follows: $array = array(); $fp = fopen("dado...
asked by 22.01.2018 / 17:27
0
answers

Empty field returning null

Good evening, I have a script in jquery and ajax to search a page in asp.net mvc, but in a table column, when the column is empty, when searching it is shown null and not empty, how do I continue showing empty to do you use null? Thank you...
asked by 31.01.2018 / 02:46
1
answer

Help to query a single information from a database user with JSON

This is the code that works with the img.php file function loadContato(){ var location = $('.result_File'); var item = ""; $.getJSON("img.php", function(dado){ item += '<p>' + dado[0].username + '</p>';...
asked by 03.03.2018 / 19:15