Questions tagged as 'jquery'

1
answer

DataTables append with AJAX

I need to add a result obtained through AJAX to a table, but I can not get the answer to show correctly. In fact, what happens is that each time the table is displayed, the result is added again. $(document).ready(function(){ var...
asked by 07.12.2018 / 23:47
1
answer

how could I insert this

I have this script: $(document).on('click', '.tipo-sangre', function(event){ var tipo = $(this).data("sangre"); $(tipo).appendTo("#tipo_sangre"); }); What I want is to give clik me pass the value of the var to a hidden type input to b...
asked by 17.12.2018 / 22:27
1
answer

Ajax through the label to href

I want to delete a row of Mysql through a link, this way I get very good <a href='eliminar.php/?dato_eliminar= but the page is reloaded. Is there any way to do it with AJAX and the% tag <a> or the label <button>...
asked by 17.12.2018 / 20:01
0
answers

Send ARRAY Ajax to PHP and insert in BD - Dynamic

I have a quantity x of inputs which I want to pass through Ajax to a PHP, the problem is that I pass an Array with all the inputs and their contents, but I want that at the moment of inserting a DB, I insert both the content of the input as the...
asked by 17.12.2018 / 22:03
2
answers

Remove the disabled to an html tag with jquery

what I want to do is that depending on the result of my function loadOptions a label is enabled but only when the select is loaded, if it is not enabled but I do not know how to do the condition the problem is punctual I just need to know how to...
asked by 12.12.2018 / 19:25
2
answers

how can I add a parameter to a url with jquery

There is some way to add a parameter to a url I found myself with this script but I still can not understand it HTML <select class="form-control js-sort-by" name="sort_by"> <option value="price-ascending">Precio: Menor a Mayor&l...
asked by 10.12.2018 / 18:53
1
answer

I can not send my data from a dynamic table in C # mvc

Good, I have a question. I can not send the data entered by the user in my pivot table to my MVC controller and C # in my view I have the following: Function that creates the Dynamic table: function fn_agregar() { cadena = "<tr>...
asked by 10.12.2018 / 17:44
1
answer

CKEditor does not load video plugin

I am using CKEditor 4.8.0 The problem here is that it does not load the video plugin I have made these configurations in the config.js of the ckeditor Video plugin: config.extraPlugins = 'video'; HTML5 Video Plugin config.extraPl...
asked by 13.12.2018 / 18:22
1
answer

Change of profile picture of a user with php mysqli?

I need to know how to make a user by default contain a profile picture of an anonymous user, and when you change your profile picture you will see the one you placed and remove the one from the anonymous user. I'm using PHP, jQuery, AJAX I...
asked by 08.12.2018 / 21:11
1
answer

execute script function in the corresponding box

My question is when I add another row of fields when I put the numbers in the boxes in the row below I take the result in the row above <script> function multi(){ var total = 1; var change=...
asked by 06.12.2018 / 17:01