Questions tagged as 'ajax'

2
answers

Uncaught ReferenceError: url is not defined in the url line: url + 'remove_contact_company.php',

function cargaPagina(pagina) { var desde = pagina * itemsPorPagina; $.ajax({ data:{"param1":"dame","limit":itemsPorPagina,"offset":desde}, type:"GET", dataType:"json", url:"Conexion_Contacto.php"...
asked by 15.09.2017 / 05:28
2
answers

Query call data by selecting a datatable AJAX field

Hello I have the following question, I call the data in my database through the current year, with the following code: <script> $(document).on("ready", function(){ listar(); }); var listar =...
asked by 14.09.2017 / 17:43
1
answer

Error calculating sum with PHP and MySQL and then insert it into another table [closed]

This way I send the form with JS AJAX to PHP: $(document).ready(function() { formSubmit() }) function formSubmit(){ $('#formComi').submit(function(e){ e.preventDefault() var idusuario = $('#idusuario').val() var desde = $('#...
asked by 05.05.2017 / 06:28
1
answer

Download image from the name saved in the Codeigniter ajax database?

Currently with a plugin upload the image to my server, with this plugin (Dropzone.js) carturo the path of this file. I do all this to avoid having to upload the tax file to the database and I only keep the name. Example upload file capture...
asked by 17.04.2017 / 06:13
2
answers

php error with the server

I have this connection conexion.php <?php # Conexion con la Base de Datos $userdb = 'administrador'; $passworddb = '123456789'; $dbhost= 'dbserver'; $dbname = 'sk_modular_divisiones'; ?> I have this query to fill a...
asked by 10.04.2017 / 22:06
1
answer

Using ActionName in Web API

I am working with visual basic and AJAX, I want to access the following address in my controller called Catalogos: <HttpGet> <ActionName("BuscarProgramacion")> Public Function BuscarProgramacion(ByVal IdCuestionario As...
asked by 12.04.2017 / 20:54
1
answer

Ajax validation errors

Hello good day I have a question about how to make an error or an exception in Ajax. My problem is this: When I select a city that does not have zones, (records in BD) I require an error message to appear. However, currently the prog...
asked by 11.04.2017 / 17:51
2
answers

Configure Web Service to respond in JSON

good day. I recently developed a WS with several methods, which connect to SQL server. I am trying to consume them through Ajax, researching this topic I found that to perform this action, my WS must respond in JSON format, I understand that nat...
asked by 17.05.2017 / 23:48
1
answer

My function (js - ajax) about registering my form

Good day forum. I have a detail with my forms, to add records to my database. I have two forms that are added through ajax-php: Form 1: <form class="form-horizontal" method="post" id="addpartidaspallets" onsubmit="return altaPallets()...
asked by 02.05.2017 / 23:58
1
answer

Create content with json and ajax

I have some doubts and problems. My code is as follows. in html <div id="summary"></div> in js function callurl() { $.ajax({ url: 'https://jsonplaceholder.typicode.com/posts', type: "GET", dataType: "js...
asked by 28.03.2017 / 15:03