Questions tagged as 'javascript'

0
answers

Join data from two tables in javascript

What I manage to do is filter my first table from where I get the first data next to an "id" that I use to filter a second table, the issue is that I can not join them in a single array. An example would be something like this first filtered dat...
asked by 09.06.2018 / 18:28
3
answers

javascript page

I'm looking to paginate with JavaScript. I found this $.fn.pageMe = function(opts){ var $this = this, defaults = { perPage: 7, showPrevNext: false, hidePageNumbers:...
asked by 08.06.2018 / 15:55
1
answer

Verify that a value exists in a JSON localStorage

I want you to click on a button first to verify if the value exists in a JSON that you get from localStorage and if it does not exist, save it, but when you perform the function even if the value exists, continue adding the array. The function i...
asked by 08.06.2018 / 16:01
2
answers

Delete JSON element with a value

I have a JSON that I get from localStorage where I keep the names of the players and their scores for a game, then I receive them in 2 separate variables to be able to modify the score and increase its value if the player wins. What I want to do...
asked by 09.06.2018 / 15:51
2
answers

What does the error "Uncaught TypeError: Can not set / read property 'XXX' of undefined / null mean and how to fix it?

The following code fails: let obj1,obj2; obj2 = { atributo: 'texto' }; console.log(obj1.atributo); Showing the message in console:    Uncaught TypeError: Can not read property 'attribute' of undefined What does it...
asked by 30.05.2018 / 15:39
1
answer

get position of a div with SCROLL

I have for example a div at a certain point on the page what I want is that when the scroll is in the same position as that div I execute a function, for example: if(Scroll == div){div.innerHTML="altura es ???'" ;} I tried to...
asked by 08.06.2018 / 16:38
0
answers

RaisedButton Material UI problem disabled

I have a RaisedButton of material UI, I add the property disabled: true, it shows it blocked but at the moment of pressing it also executes the action, to what can this be done?     
asked by 06.06.2018 / 20:17
0
answers

Give a div the property that can give real click

THE OBJECTIVE OF EVERYTHING I DID IS SIMULATE A SCREEN RECORDING TO KNOW WHAT THE USER DID, SAID THIS, I EXPLAIN: Create a script that captures the coordinates of the cursor while the user moves around the screen and clicks gives the user and sa...
asked by 07.06.2018 / 01:03
1
answer

Deactivate with warning in Modal

I have a problem and that is that when I click on the modal I want to load the id of said provider, it is necessary because it is a warning to deactivate or activate said provider, I leave the code This is the code with which I show a table w...
asked by 06.06.2018 / 20:12
0
answers

Account generator with javascript

I am setting up a simple account generator with HTML and JavaScript, I have been looking for some help, such as limiting to an account per person, that is, if someone wants to generate an account, click on the button and block or with cookies Te...
asked by 11.06.2018 / 19:46