Questions tagged as 'ajax'

1
answer

Handle php results from ajax

I have a php file that collects data and sends it through ajax to another php that validates that the data entered are the same as those stored in $ _SESSION If they are the same, make an UPDATE in my database. I want to see if there is a way t...
asked by 20.11.2017 / 16:48
1
answer

Ajax jquery does not pass through function success [closed]

I have an ajax request to a php file but for some reason it does not go through the success function and I do not get an error. could see what the problem is, the file path is fine and I do not know what else it can be // jquery $("#lst_cat...
asked by 26.03.2017 / 23:37
2
answers

Validate Json API response

In the last days I have had a problem that I have not been able to solve, I hope to get your help, please. The problem is this: I am creating a page which has a module in which inputs are created dynamically but each of those inputs must return...
asked by 25.03.2017 / 16:58
1
answer

How to take the net value of a select in a JQUERY change?

I have the table país and ciudad , the city depends on the country, so I decided dynamically that when I select the country I do change taking the value , in this case the id_pais and that send a% per% code to list the...
asked by 06.03.2017 / 21:31
2
answers

Does not consume my web Service from Ajax Jquery

This is my code $.ajax({ type: "POST", url: 'http://localhost/QM/QMUI/WebServicePrueba.asmx/ObtenerCategorias', //url: "CategoriaK.aspx/ObtenerCategorias",//ojitos data: "{IdCategoria :" + -1 + " }", // -1 trae la lista compl...
asked by 05.01.2017 / 19:28
2
answers

Collect variable localStorage AJAX from PHP file

My question is whether it is possible to collect a variable in localStorage from PHP without sending it. I intend to collect data in a query where I activate an option in a list and send a form but I want to determine if the user is logged in...
asked by 14.11.2016 / 17:39
3
answers

Change a string value to an integer

With the following code I want to make a validation where validate if a data that I am going to enter is greater than another that I already have, if so, an error message should appear. This is what appears to me as you see the value celda...
asked by 18.10.2016 / 21:05
1
answer

list data in a partial view by passing it from a modal window

I have a modal window with a form from which I want to return the data entered in a partial view and put them on the list as they are added I already have the modal window with an Ajax.BeginForm () and I pass the data to the partial view through...
asked by 25.08.2016 / 18:28
3
answers

print script tags on a div with jquery

I would like to know how to print script tags in the html with jquery     
asked by 03.08.2016 / 02:06
2
answers

Because in php you can directly access the variables sent in an object from ajax

Does anyone know why in php you can directly access the variables sent by ajax inside an object without using the function json_decode () of php ?. This is the function that sends the value "value": function mi_funcion() { var valor = "mi_...
asked by 18.05.2016 / 00:42