Questions tagged as 'javascript'

1
answer

Problem when wanting to use a value obtained from Firebase in Javascript

What happens is that the value I get without problems, but wanting to use it outside the code where I get the value, it disappears and does not show any data ... This is the code where I collect the value "snapshot1" and I contain it in the v...
asked by 10.06.2018 / 22:17
1
answer

Autoplay another video when the original is finished

How can I do that when I finish playing the video completely another one is executed in autoplay mode. Something like in YouTube when you finish a video and leave you a few seconds until they execute another automatically. <video autoplay m...
asked by 10.06.2018 / 23:06
1
answer

How to hide list of options if I do not have anything written in HTML

I have a list of options that I can select, at the beginning it looks like this: so when I write something, it starts looking, it goes like this: but when I delete the writing, the list is not hidden, it remains open, as follow...
asked by 17.09.2018 / 20:50
1
answer

Firebase ionic 3 chat message time sent

I want to show the time of which I sent the message in the ionic chat, this is the way I was doing it to send to the database, but how I transform it to show it as time and day .. sendMessage(){ this.time = firebase.database.ServerValue.TI...
asked by 03.06.2018 / 05:14
1
answer

Error calling jquery library Uncaught TypeError: $ (...) .Datatable is not a function

I have a problem when using a datatable plugin, I think it loads the jquery script twice, but I do not know where. <script src="../src/js/jquery.min.js"></script> <script src="../dist/js/getorgchart.js"></script> <...
asked by 03.06.2018 / 16:50
1
answer

Get the month number from the week number Javascript [closed]

Good morning I am new to javascript I am in the dilemma, with a combobox I return the year concatenated with the week number is a weeks combobox, I am in the problem of getting the number of the month from the number of the week obtained from...
asked by 06.06.2018 / 17:03
2
answers

Add or subtract the date with buttons in javascript [duplicated]

I'm trying to make a kind of daily agenda that can change the day. It turns out that clicking on the > or < instead of subtracting or adding a day to the current date (in days) takes it out in the part of the year. For example, today...
asked by 07.06.2018 / 16:46
1
answer

pop up with data already in mysql

What my page needs is that when modifying a data under an ID, it opens a pop up with data that I have in the db, try to search but I did not find something to help me, the code that I have so far it serves but only to insert <script> fu...
asked by 25.06.2018 / 08:26
1
answer

append () does not work in Internet Explorer

I have a code that collects data from a BD and dynamically introduces them to a page, so I create with jquery the elements and labels inside a "blank" page (it has some fixed data). In Chrome it works for me without any problem, it does not give...
asked by 25.06.2018 / 16:47
2
answers

Tour a json rescuing the last repeated

This the Json Object var data = [ {anioTtile: "2018", anioData:[10000,0,20000,0,0,0,0,0,0,0,0,0]}, {anioTtile: "2018", anioData:[10000,0,20000,0,50000,0,5000,5000,0,0,0,0]}, {anioTtile: "2017", anioData:[10000,0,0,0,0,0,0,0,0,0,0,0...
asked by 08.06.2018 / 20:23