Questions tagged as 'javascript'

3
answers

How to make a data query in HTML using javascritp or .json [closed]

Greetings I am working on an Html project with bootstrap in it I have to make some data queries by means of an ID. but as I have few data, I do not want to do a database and do some research, but I only find filtering tables, but the issue is th...
asked by 02.06.2017 / 15:30
2
answers

Select the first value of a decimal

Good morning, There is some way to select the first value of a decimal, try with toFixed() but the problem is that I round it up. For example: 4.560 // necesito el 4 pero con toFixed() me devolverá 5.     
asked by 26.05.2017 / 01:16
2
answers

jQuery modal window does not close

Good morning classmates I'm in a problem with jQuery , I'm doing a system with a modal window, what happens is that it does not close me. This is the code: $(document).ready(function(){ $('#frmPaciente').dialog({ autoOpen:...
asked by 28.11.2018 / 20:25
3
answers

new Date () in javascript I have one day left

I am working with dates, and when I make a date with the new Date () method, I have one day left. My code: let prueba = new Date('2018-12-04') console.log(prueba) and in the console I have the following date: Mon Dec 03 2018 21:00:00 G...
asked by 03.12.2018 / 22:30
3
answers

Javascript error: Can not read property 'length' of null [duplicated]

I'm making an audio player, and every time I upload the page, the background will change, for that I'm using Javascript, although I do not usually program with it. <script language='JavaScript'>"; var image = new Array(...
asked by 25.11.2018 / 15:02
1
answer

speed problem with owl-carousel boostrap

I'm trying to do an owl-carousel, but I can not establish the duration of how much each image is displayed, look jquery, I'm somewhat exhausted analyzing the code and handling it, (the images delete them, but I leave the code just in case ) the...
asked by 08.11.2018 / 10:53
2
answers

Javascript shows warning undefined

I'm not very proficient with javascript so I decided to do an online course from scratch and they put me as an exercise to make a paper or scissors stone game, so I did it but I wanted to add html so the user could insert the option of your pref...
asked by 11.11.2018 / 10:53
2
answers

Show html tag if Angular2

I want to show a label if there is data to show: <ng-template *ngIf="enableValidation(param.boolean)"> <a href="{{param.link}}"> <clr-icon shape="info-standard"></clr-icon> Acceder </a> </...
asked by 15.11.2018 / 11:49
1
answer

Jquery open a box with Toggle and close the other boxes

I am doing with Jquery two buttons, when I click one of the two functions that are in the code below is displayed. How can I do so by clicking on the #lupa-responsive button the% #apuntador-responsive is closed if it is open...
asked by 20.11.2018 / 16:31
3
answers

Stop JavaScript when it is not there or leaves the window

I have a jQuery slider that runs even when it is not in the window where it is located, this consumes me in vain processing resources. Script $(document).ready( $(function() { //configuracion var width = 650; var animationSpeed = 1000;...
asked by 10.09.2016 / 19:13