Questions tagged as 'ajax'

1
answer

Rename / Save image passed from Ajax to C #

I have the following code which shows an image in a thumbnail using jQuery, which my idea is to pass "the image" of ajax to the controller to do what I need $('#subirFoto').on("change", function (event) { $("#arrastreImagen").html("");...
asked by 26.04.2018 / 19:43
1
answer

Ajax-Error using Json in PHP

I'm using Json to make an insert in MySQL using ajax, but I do not get any results and the insertion is not done, what am I doing wrong? JS code $("#btnprueba").click(function () { var array1 = []; $("#tabla .DataRow...
asked by 30.04.2018 / 06:21
3
answers

Pass data from JS to PHP

How can I not pass certain data from js to php: The structure of some radios buttons <input class="rad" name="1" id="106" value="0" type="radio"> <input class="rad" name="1" id="45" value="0" type="radio"> <input class="rad...
asked by 14.05.2018 / 18:56
1
answer

Extract external domain xml data with jquery

I happen to have an error in the browser when extracting the xml data from an external domain through jquery ajax. I try to do it this way: $.ajax({ type: "GET" , url: "http://api.radionomy.com/currentsong.cfm?radiouid=E8FBFBE1-E50...
asked by 15.04.2018 / 16:27
1
answer

Is it possible to make a comment box without Databases?

I was looking for if it is possible to make a section in which the comments are saved in a .txt, and every time you comment, this file is updated, only with javascript and php.     
asked by 27.03.2018 / 01:45
1
answer

jquery show and hide elements with click, interferes with ajax

It worked perfect until I used ajax. Do you have any other way of doing it? * They have enough rows of data from #result followed by div.unicc I want to give it in the + open the next .unicc Someone to solve me please. $(".Mostrar_Tab...
asked by 26.03.2018 / 22:38
2
answers

Codeigniter3 - Get data from a controller by sending an id with ajax

I have been reviewing the site and I have not been able to find an answer to my question. I'm trying from a select with a list of products that I have in a view that when I select one I get updated the existence data of that product that I get f...
asked by 22.03.2018 / 19:54
1
answer

load select type option from a date input type date ajax c # json

I have an input of type date in HTML5 to select the date and from the date fill a select with options with the available schedule of the database for that day. For that I activate the event onChange of the input type date and I use ajax to call...
asked by 04.03.2018 / 22:45
2
answers

Export data csv with PHP, Jquery

The HTML code is: <input type="text" class="form-control" id="from_date" name="from_date" aria-describedby="basic-addon3"> <div class="input-group mb-3"> <input type="text" class="form-control" id="to_date"...
asked by 06.03.2018 / 11:56
1
answer

How do I use apis in AJAX?

Ajax will be used, but for the exam I have in a few hours they ask me to use ajax with some api and from there to get the information, I have no idea, can someone explain how I can do it? Thanks     
asked by 31.05.2018 / 03:19