Questions tagged as 'jquery'

1
answer

Declare scripts in partial views in ASP.NET MVC

I'm working with ASP.NET MVC, JQuery, Javascript I understand that when you work with a main view that calls a partial view, the partial view is injected into the main view. If that were true, it would no longer be necessary to declare the va...
asked by 25.02.2017 / 21:13
1
answer

Capture connection errors with jquery

I have a video carousel made in JQuery that makes an AJAX request, so if the Internet fails, the video stops and the system no longer moves and shows these errors: I was wondering if there would be any way to capture these errors...
asked by 24.02.2017 / 20:26
1
answer

Bootstrap validator tooltip

I'm validating my forms with boostrap validator ( link ) and they look like this: But I would like that the message does not appear in the lower part, but as a tooltip from the icon something like this: I can not use the form v...
asked by 17.02.2017 / 04:50
2
answers

How to regroup 2 JSONs for a given position? I put 2 examples to show what I want

I have 2 examples of the select that I want to generate a good one and a bad one. There you will see. $(document).ready(function() { var result_malo = [ [ { "id": 1, "nombre": "Bocina" },...
asked by 16.02.2017 / 14:54
1
answer

Why can not I get the current date in a "DateTimePicker"? eonasdan plugin

The link to datetimepicker that I use this here My problem is this: I want to obtain the date that I indicate, but when I click on an external button, it indicates the previous date, not the last date that I indicate. Ex: if I...
asked by 06.02.2017 / 06:50
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 / 17:27
1
answer

JQuery UI Autocomplete - "This source is not a function"

I am trying to use the function autocomplete of JQuery UI to suggest words previously stored in localStorage . The problem is that it does not suggest them but if you save them and in turn when I test in console it returns...
asked by 13.03.2017 / 17:43
1
answer

Multiple canvas

I need to perform a functionality that by means of a select can create the same amount of canvas, that is, if in a select I choose quantity "3", I create 3 canvas     
asked by 14.03.2017 / 18:37
2
answers

Retrieve double GridView javascript

The following code points to the event change of a textbox (column 3). I want to recover the value in a asp:TextBox of a GridView (Column 5) $("#<%=GridEdos.ClientID%> [id*='txtBox']").change(function ()...
asked by 18.01.2017 / 22:44
1
answer

Problems ajax jquery

var ajax = $.ajax({ method: "GET", url: "api/fichas", dataType: "json", success: function( strData ){ alert("work"); $("#agenda .content").append(strData); } }).done(function(){ console.log("WORK"); });...
asked by 17.01.2017 / 20:52