Questions tagged as 'ajax'

2
answers

How can I show the product name when I insert product code?

Purchase products, when inserting code, show the name of the product to which it belongs. This is the code: <div class="md-modal md-dark custom-width md-effect-9" id="formnproducto"> <div class="md-content"> <di...
asked by 28.03.2017 / 18:09
1
answer

Select Where datatables with php and Ajax

I have a system that allows you to upload documents and for each document write your comments, this part already works but I need to show the comments that were written for that document using Datatable This is my code:    Table.php Thi...
asked by 29.03.2017 / 17:36
1
answer

How do I load selects with jQuery, Ajax and Codeigniter

As it does, this file is to load the library of jquery to be able to use ajax and the jquery code where we will say that when the select with id country changes of option, in the change event table pp_countries ------------------ id country_na...
asked by 30.03.2017 / 23:50
1
answer

jsTree, how to load child nodes on demand

I am using jsTree (3.3.2) to show a hierarchical structure of entities. The way I have it configured is to load the json with the complete structure taking as root node the node to which the authenticated user belongs, but it really is not funct...
asked by 01.04.2017 / 17:43
2
answers

Error in Ajax with query Mysqli

I am trying to recover some data from mysql , add them and show them by means of a query ajax Javascript $(function () { $("#previousdate").on("click",function(){ $.ajax({ type: "POST", url: base_url + 'index.php/welcome/sh...
asked by 19.04.2017 / 20:55
1
answer

Upload videos with Youtube API

I have a video-attended system in which I use the YouTube API as shown here to upload the videos: link Classes charge them asynchronously with ajax, like this: jQuery.ajax({ type: "GET", url: cursado....
asked by 12.06.2017 / 17:44
2
answers

How to send a parameter to a C # method through an ajax call?

What I would like to achieve is to be able to pass a parameter from my javascript function through ajax but that said variable will reach my c # method that I am calling. Ajax code: $.ajax({ url: "../../../pagina/configuracion/empre...
asked by 08.02.2017 / 16:19
1
answer

Modal of Bootstrap Facebook Post style

How do facebook posts work to see an image in a window without changing places to see it? What method do you have to use to do that? Example: link     
asked by 14.02.2017 / 00:40
3
answers

How to refresh the row of a table when it is updated by Ajax?

I have the following Jquery script with ajax $('#btn_cofr_update').click(function(e){ e.preventDefault(); var form =$('#form_upd_requi'); var action=form.attr('action'); var id=$('#id_').val(); var data=$('#fo...
asked by 14.02.2017 / 18:27
1
answer

Salary DataTables jQuery

I do not handle much the DataTables for which I tried several ways to convert a result of ajax that are numbers and convert them into salary, but since I am handling it in a different way than the DataTables it suddenly beco...
asked by 18.01.2017 / 23:22