Questions tagged as 'ajax'

2
answers

Help with jquery dynamic select

I have a problem with some dynamic selection fields, what I want is that when changing one of the select (a) the other select (b) is also changed and vice versa, the problem is that it must be done using the data- attribute cod, for example if I...
asked by 08.12.2017 / 17:14
2
answers

Error sending data by AJAX to Method in ASP.NET

Hello friends, I'm working with ASP.NET / C # and I'm trying to pass a parameter through AJAX ... but I get this error, I recently published a very similar question, where I did the same but from a ActionLink but as I am now passing the...
asked by 21.12.2017 / 17:04
1
answer

Problem saving image order in Database

I have a problem keeping the order of my images in the database, first I have a JS file where I store the new order in a variable, when I open a console.log, if it shows it correctly, then I send that data to an AJAX file that sends it to the co...
asked by 06.09.2018 / 13:25
1
answer

Returns me undefined

Good, I have a form that through AJAX and PHP I make a query to my BD to return some of the data, the problem is that it returns undefined when I try to paint in query a data of the JSON array, I have looked at the debug of the browser and in PH...
asked by 05.05.2017 / 09:27
1
answer

Get ajax checkbox values

the following happens to me I am driving a system which has 2 checkboxes <div class="form-group"> <input id="admin" type="checkbox" class="material_checkbox" name="admin"> <label for="admin">Administrador</...
asked by 10.02.2017 / 02:30
2
answers

Uncaught (in promise) SyntaxError: Unexpected token in JSON at position 0

Good afternoon, I've been trying to find the problem for a whole day and I could not get the following error:    Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 I have searched in other forums but some recom...
asked by 07.02.2017 / 23:09
1
answer

Get POST variable in php and AJAX in the same form, PHP SELF

Hi, I have this problem, I have a canvas which serves as a signature for documents that are sent to the same form where you are with phpself , but at the time of doing the conversion in ajax to send it as string of image , nothing brings...
asked by 07.02.2017 / 16:54
1
answer

Access the DOM to an AJAX response

Good I need to be able to access from the DOM to a button painted with PHP, which is called from an AJAX. Since I read that the DOM would do it to the AJAX and then it gives you undefined , I can not do it the normal way. The specific butt...
asked by 26.11.2017 / 21:08
1
answer

send checkbox values as fix by ajax [duplicated]

hello I have the following problem .. I need to send the values of a group of checkbox in an array, through ajax and process them in php with codeigniter. I am starting with ajax so I do not know much about the matter, its contribution would b...
asked by 25.01.2017 / 22:44
1
answer

validate form with jquery-validate in ajax

Hi, I have the following problem, I have made a save function with PHP and Codeigniter , using AJAX too .. everything works fine, but it turns out that I want to validate my form using jquery-validate before making the AJAX request, for...
asked by 19.01.2017 / 16:44