Questions tagged as 'javascript'

1
answer

Capture all JavaScript errors in Angular2

As the title says, I'm needing to capture all the errors generated in JavaScript but by angular. The idea is to raise a service that sends the errors that will happen on the client's side to have a log of errors in the server, to later correc...
asked by 07.04.2017 / 15:49
1
answer

Overlay a DIV and disable the background

I run into a problem and I can not find a solution. It turns out that I'm doing a portfolio-like gallery, where the user clicks on a thumbnail of the work to visualize it. The issue is that when you click, a div opens with a iframe inside, s...
asked by 13.08.2018 / 15:00
2
answers

empty the records of a mysql table with event_scheduler 24h

I want to make every 24 hours vacíen the records of a table from the web. what I wear in javascript is this is not much but is more or less see the idea var now = new Date(); var hours = now.getHours(); if ((hours>=...
asked by 16.08.2018 / 00:16
3
answers

Conflict between GridViewScroll and Loading image in ASP.NET WebForms

I currently develop in asp.net c# , html5 , javascript , css . I'm honestly not very good at javascript and I try to resolve issues by researching. Well, I have an aspx page, which shows a grid, but this grid has fr...
asked by 28.01.2016 / 17:00
2
answers

memory game in Javascript

I am new to the topic of web development and I really want to make a memory game, I have seen one or another tutorial but they are with Jquey which I still do not know very well since I just start with javascript, the question is that I make it...
asked by 05.11.2016 / 22:19
2
answers

How to show a div when loading the page

I currently have a hidden div <div id="llave" style="display: none"> //aca esta el contenido </div> but what I'm looking for is that when I finish loading the page it shows up. I was trying like this: <script type="...
asked by 27.08.2018 / 19:59
1
answer

Problem with ng-change checkbox in Angular

I am using a checkbox that executes an AJAX request to change the state of a record from 1 to 0 and vice versa. This is the code that renders each site: <div class="col-xs-12 col-md-3" ng-repeat="site in sites">...
asked by 07.11.2016 / 00:58
5
answers

An arrangement that does not give the same result 1 to 2 times in a row

My program in js. What I want to do is that every time a button with a function is pressed, this is activated, but the problem is that the result is repeated often and is annoying. var Loot = ["manzana", "pera","melon","sandia","limón","durazn...
asked by 12.10.2016 / 20:38
1
answer

I'm experimenting with javascript and css rotating divs with letters because some rotate well and others abruptly

The code that rotates the divs with the letters: if(tipoTransformacion[i]==0) $("#t_"+i).css("transform","rotate("+rotar+"deg)"); if(tipoTransformacion[i]==1) $("#t_"+i).css("transform","rotate("+rotar2+"deg)");...
asked by 28.09.2016 / 08:02
1
answer

error in function JS with two parameters

I have a button that invokes a JS function, but I have not been able to send more than one parameter $("#msgPrueba").html('<script>$("#exampleModalx").modal({backdrop: "", keyboard: false});</script>...
asked by 06.10.2016 / 20:48