Questions tagged as 'ajax'

2
answers

How can I traverse a json array and get its values to show them in the view?

My method for accessing a json url is as follows and it works, but now I want to run the json with a for and its'.lenght' but I could not. The json I want to get the urls from is the following link <scriptsrc="https://ajax.googleapi...
asked by 24.04.2016 / 06:20
1
answer

How to update ajax php sql server table?

Good I'm doing a form but in this case they fill certain data or they choose and a graph is generated and below a table that is basically the description of that graph and it is dynamic. The problem is that when I press the first time it work...
asked by 26.07.2018 / 17:02
2
answers

Does not show all records when performing an SQL SERVER query through AJAX

I have a problem getting all the records of a query in SQL SERVER through PHP and AJAX. When I send POST by the classic method of the form (submit), all records are displayed without any problem. However, when doing the query by mean...
asked by 02.10.2018 / 01:07
2
answers

use ajax to load information

I have the following form that has the following option: echo "<tr>"; echo "<td class='cs'>Forma pago</td><td>"; echo "<div id='contenedor2'>"; echo "<select name = 'cod_tarj' style='border-colo...
asked by 21.05.2016 / 17:43
2
answers

insert image with ajax

Good, I need to know how to insert an image into my database with ajax. Some time ago I learned to insert a php image in a conventional way. But now I need to do it through AJAX, and it's giving me problems. Assuming this is my form: Ing...
asked by 25.11.2016 / 11:18
2
answers

Differences between nested AJAX and promises

In another question of StackOverflow in Spanish is done reference to nested AJAX calls and the response suggests using promises instead of nesting AJAX calls. And from there I have some doubts. Note: I'm going to use jQuery notatio...
asked by 02.02.2016 / 23:53
2
answers

remove row from html table with Jquery or JS

How to delete the row of an html table with js or jquery or css ?, I have a table that shows product records of a Query SQL to my BD, I add a button where it opens a modal to register some data belonging to that record , when I have finished fil...
asked by 05.05.2016 / 01:16
2
answers

Update the database when I move rows of a table

View code: <div id="tabs"> <div class="col-md-12" id="current"> @include('cms.public.views.partials._messages') <div id="table1"> <table class="table">...
asked by 23.08.2017 / 14:49
4
answers

ajax requests in Laravel

This is the example code of a controller and the normal handling (not AJAX) of a Request or request. <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; class UserController extends Contro...
asked by 01.12.2015 / 19:58
2
answers

Get textarea value by javascript

I have a form that with a button "duplicates" so many times the user wants. <div id="productosTotal"> <div id="producto"> <label>Nombre del producto *</label>...
asked by 05.04.2017 / 22:40