Questions tagged as 'ajax'

1
answer

How to show details of a product without reloading the page

Good, I am trying to make my kardex or history of entry and exit of my product. But I have a problem. I do not want that when going to see the details of a product the page requires recharging. But hide the first table ( producto.php ) where all...
asked by 16.07.2016 / 13:44
2
answers

Error inserting data into MySQL using PHP and AJAX. (NO jQuery)

PHP class where I connect to the Database <?php class Buscador { var $host = 'localhost', $user = 'root', $pass = 'chachin', $db = 'employee', $conexion = 'Se conecto', $conexion_i = "No se Conecto correctament...
asked by 07.07.2016 / 04:29
1
answer

LLamar Asp.net WebMethod using Jquery Ajax

I am calling an Asp.Net C # method since a script works perfectly for me when it is in the url: 'default.aspx / NombreDelMetodo' but when I enter the project where I must implement the code I have problems with the url try these three forms bu...
asked by 05.09.2016 / 00:14
1
answer

Update using ajax and javascript

I have the following options, which should update two different sw: in the first I have the options of ninguna, aut, y hab and in the second I have the option of sw_visible , which is 1 or 0 dependent if it is activ...
asked by 08.07.2016 / 18:04
1
answer

deserealize array json and vb.net

Ajax sends an array containing values that the user selects from a checkbox set in this way $("#btnEnviarTelcel").click(function () { var conjuntoFacturas=[]; $("#form1 input[type=checkbox]").each(function (i) {...
asked by 02.07.2016 / 00:34
1
answer

keep all records for every AJAX call in VB.NET

It sent through AJAX values according to the checkboxes that a user selects to another page2 that receives them, and processes them to a BD, the problem is that I have a cycle each with jquery for the sending of the value that the user selected...
asked by 30.06.2016 / 20:57
1
answer

Problem with ajax response

I'm doing a project in Symfony and when I send the data by ajax the answer I generate with json_encode() gives me error This is my ajax code $.ajax ({ data: {"id": id_category, "type": "add_row_interno"}, type: "POST", da...
asked by 14.07.2016 / 17:40
1
answer

string format in an input that receives value from ajax

I have a textbox, which receives a data by AJAX. @Html.TextBox("CantidadPago", string.Format("{0:C}",0), new{@class = "form-control"}) AJAX $.ajax({ type: 'POST', url: '@Url.Action("CalcularCantidadPag...
asked by 06.10.2016 / 23:18
1
answer

I want to validate with ajax and json in Django, a field if it already exists before submitting?

This is the url: url(r'validar/celda', SGregorio_views.validarcelda, name='validarcelda'), This is the view to validate: def validarcelda(request): error = '' success = False if request.method == 'POST': celda = reques...
asked by 04.10.2016 / 17:54
1
answer

how to send name and value of a submit button via ajax

I'm using the obj. FormData () to send the different input controls of a form but the problem is that it excludes the input submit that sent the form, of course it does chrome but the other browsers do not. I have several submit s. In the docume...
asked by 08.06.2016 / 16:07