Questions tagged as 'jquery'

1
answer

How to send by parameter of type string that contains special characters to the controller function?

In the view I have the following code: $("#btn_descargar").click(function (e) { e.preventDefault(); debugger; var iBody = $("#iframeID").contents().find("body"); var myContent = iBody.find("#myContent").text();...
asked by 20.08.2018 / 18:16
1
answer

modify the name of an input with jquery

Someone can help me, I am dynamically creating elements dynamically inputs with the .clone () method with jquery but I want to change the name of the input that clono, for example if I have the following input This is the input that clono &...
asked by 31.05.2018 / 18:31
1
answer

Get value of a partialview in the parent view

Actually, I have two questions to ask you related to the partialview. First, I will comment on how I show the partialview Question One Add.cshtml @Html.EditorFor(x => x.Suma) <div class="modal fade" id="exampleModal" tabind...
asked by 16.04.2018 / 17:28
2
answers

How to replace append () of jQuery with append () of JavaScript

I have two tables and I want to insert table 2 at the end of table 1. With jQuery it's so easy that I came up with the "good idea" to try to do it with javascript. Here is the code of what I have tried so far: $(document).ready(functi...
asked by 14.04.2018 / 00:49
2
answers

How to know if an element of the Sun has loaded with jquery?

How to know if a component has loaded, for example a div and not in the traditional way the whole page $(document).ready(function() { using jquery? Try it like that but it does not work the div is this <div id="calendar">...
asked by 23.04.2018 / 02:50
1
answer

How to display multiple bars in the jquery flot library with json and ajax?

I have a problem with the jquery flot extension, because I have to transform it into a two-dimensional array or with this format [[0,0], [0,0]], at the moment only for normal arrays, and I also know how to do this format, which in essence is the...
asked by 05.11.2016 / 05:00
2
answers

get all the values of a select when loading the page

I have the following code, it turns out that I want to capture all the Values of a Select hidden once the page is loaded in Html , capture them in Javascript and send them by means of a JSON to the controller of 'laravel....
asked by 28.03.2018 / 23:45
4
answers

Break the "tail" that leaves the "hover" effect

I need a div to have a style when you pass the cursor over ( hover ), and another style when you do a click . //HTML <div>texto</div> //HOVER JS $('div').hover(function() { $(this).css({'background-color':'blac...
asked by 09.03.2018 / 21:12
1
answer

Pass dynamic array by AJAX

EDITED I am trying to send the following data with AJAX var datosInsert = JSON.stringify({ 'datosCarga': valoresEntrada, //[1,2,3] 'loteCaja': fieldLote, //101 'cajaLote': numeroCaja //1 }); $.ajax({...
asked by 21.02.2018 / 00:11
1
answer

Browse Objects Array with Jquery

My problem is this, I have an array of colored objects and it is as follows:  [Color [id = 1, CodeColor = Red], Color [id = 2, CodeColor = Green]] And I need to go through that array of colors through the jquery library and paint it in an option...
asked by 25.02.2018 / 16:11