Questions tagged as 'jquery'

0
answers

Use class instead of id in Jquery Validate

I have this Jquery Validate script: /****** Validate ******/ $().ready(function() { $("#form_inserir_imagem").validate({ rules: { id_cat: "required", image_file: "required", nome_servico: "required",...
asked by 02.05.2018 / 00:56
1
answer

Filter in combos with JQuery

I'm using the code below to filter values between two combos. The value of the first does not appear in the second: $("#treinamento").on('change', function() { $("#validade_treinamento").prop('required',true) $("#treinamento_2").r...
asked by 02.05.2018 / 13:43
0
answers

Minute and second format ChartJS

I'm trying to put in the x-axis the minute and second, but it only gets "mm: ss", I seto the date like this: var time1 = new Date; time1.setHours(0); time1.setMinutes(0); time1.setSeconds(0); time1.setMilliseconds(0); I get the val...
asked by 02.05.2018 / 15:12
1
answer

Sort the date on the grid chronologically?

$.fn.dataTable.ext.search.push( function( settings, data, dataIndex ) { var min = $('#min-date').val() ? $('#min-date').val().split('/') : null; var max = $('#max-date').val() ? $('#max-date').val().split('/') : null;...
asked by 02.05.2018 / 14:36
0
answers

Create shortcut automatically on android desktop

I have an application in ASP.NET MVC with bootstrap, access by Smartphone normally, but would like to know if it is possible to access the main screen create a shortcut on the android desktop?     
asked by 30.04.2018 / 20:51
1
answer

Error ReportViewer 14.0.0.0 Window. $ RSjQuery

By clicking the button to expand groups in reportview, it will load forever and gives error in the line below: // error Uncaught TypeError: window.$RSjQuery is not a function if ($) { window.$RSjQuery(window).on("resize", function () {...
asked by 29.04.2018 / 21:51
0
answers

Ajax returning error message (Access-Control-Allow-Origin) [duplicate]

I'm trying to access the post api and I'm getting an access error not allowed, it follows the screenshot of the error: Andthecodethatdoesajax:functionfreteeprazo(){varparams={'nCdEmpresa':'','sDsSenha':'','nCdServico':'04014','sCepOrigem':'03...
asked by 08.05.2018 / 23:36
0
answers

Problems with zooming in google maps

I have a google map script but due to the fitbounds function I can not hit the initial zoom. Someone can help me already tried to modify the scritp and even force the zoom but it does not work. jQuery(function($) {...
asked by 08.05.2018 / 22:58
0
answers

How to use jQuery inside component - Angular

So, I'm having trouble running jQuery (initializing the materialize tabs component) within a specific component. For now the code looks like this: home-logada.component.html <div class="row"> <ul id="tabs-swipe-demo" class="tab...
asked by 27.04.2018 / 21:04
0
answers

How do I list items with an object through one page to another. (Jquery & Ajax)

$.fn.gerarResumo = function(ajax){ nomes = new Array(); precos = new Array(); quantidades = new Array(); codigosNcm = new Array();*/ var tipoEmbarque = $(".tipoEscolhidoEmbarque").val(); var nomes...
asked by 27.04.2018 / 20:03