Questions tagged as 'javascript'

1
answer

How to change cover photo [closed]

How to update photo of this cover from my computer with javascript, button input type="file" or with nodejs.
asked by 13.07.2017 / 19:36
2
answers

JS and HTML DIV - TAB KEY

Good, I want to make a Genre of ScoreBoard as seen in the games, but for Site ... If the person Clicking TAB, a table or a div # specifies ... How do I do this?     
asked by 10.07.2017 / 16:26
4
answers

event.clientX; and event.clientY do not work in firefox

This function is perfect in chrome but does not work in firefox. the error is that in firefox it returns me in the console that "event is not defined" but in the chorme ta ok. Variables that are not in the function are global. (I do not use jque...
asked by 08.06.2017 / 21:16
1
answer

Print only part of an HTML page [duplicate]

I'm trying to print only the part of an HTML page that has a barcode. HTML: <div class="barcode-img"> <svg id="barcode" jsbarcode-textmargin="0" jsbarcode-fontoptions="bold"...
asked by 08.06.2017 / 15:47
1
answer

Table scroll with scroll position according to date

I have table with a list of birthdays. I use a div that leaves it scroll with fixed horizontal size. I would like the scrolling of the table to be at the current date position. As in this picture below: Assuming today was the 20...
asked by 27.04.2017 / 15:35
1
answer

SELECT always returns the last record

I'm trying to make the moment that I select an option in a select form, other fields are filled through this information. I've been able to do this partially, the last record in the table I'm looking for is always selected, but it actuall...
asked by 26.04.2017 / 21:29
2
answers

Create a one-size box with a scroll bar

I want to create a box that has a unique size, but that has a scroll bar in it to view the complete content. I want to use this to detail something.     
asked by 25.04.2017 / 17:23
1
answer

I can not reduce the value of the html span

I am playing a guessing game with a number of attempts equal to 3. Whenever the user misses the kick, the number of attempts should fall, but this is not happening. Does anyone know what I'm missing ?? HTML <!DOCTYPE html> <htm...
asked by 24.04.2017 / 20:24
1
answer

Change vh by px

I'm having the following problem: I have a page that has several slides in HTML itself. All of these slides have their size set to vh instead of pixel . The problem is that when I access with mobile, the cell being horizontal...
asked by 26.04.2017 / 17:47
1
answer

Form Opening JS Blank Popup

I need to return the result of submitting a form to a popup (I tried lightbox but I can not use it, would it be better?) in the center of the user's screen, the only problem is that the popup is returning a page blank and I could not identify wh...
asked by 27.04.2017 / 13:33