Questions tagged as 'javascript'

1
answer

Clicking on a button and get the row values of a table

I'm doing a project in nodejs / javascript and I'm trying to get the values that are in the row of a table. When clicking on the button on this line will get me these values and anger sends them to another page. I basically want to get the ce...
asked by 05.07.2018 / 23:40
1
answer

Site content disappears when you place accents

Hello, I'm creating a dynamic website with ajax, but when in the database it has an all but dynamic accent disappears. I already tried <meta charset="utf-8"> in the html file and it also did not work. Can someone help me? AJAX...
asked by 05.07.2018 / 17:14
1
answer

Galera, how do I give a "submit" in an input generated via js?

I'm generating this input with its name whenever the user clicks on the Add button, however, when I try to retrieve this value after the submit, it says "undefined index test". (being that it assigns in js) 1 - JS for input generation 2 - Inp...
asked by 06.09.2018 / 23:17
1
answer

Calculation with Javascript gives error

Well, my program does a lot of calculations, however there is one that does not work and I no longer have any ideas on how to solve it. The calculations are these: function calculaResultado(x){ console.log(x); a = d...
asked by 09.09.2018 / 02:05
1
answer

How do I detect a click outside an element?

I have some HTML menus, which I show when a user clicks on these menus. I would like to hide these elements when the user clicks off from the menu area. How could I do this?     
asked by 06.09.2018 / 20:52
1
answer

Touch effect / click and drag with mouse

I have a gallery with horizontal scroll, I would like to know if it is possible to put a click and drag to move the scroll, like a touch dragging with the mouse. obs: images will be linked. My Gallery: function mostra(theId){ var th...
asked by 07.09.2018 / 08:37
2
answers

reuse of Javascript between sites hosted on linux

Before spending energy trying to implement this, I would like to know if anyone knows if this is a bad practice and if it really works I have some sites hosted with the root folder as follows: Site 1: / var / www / site1 / html / Site 2...
asked by 09.09.2018 / 02:03
3
answers

Change the Javascript Window.Open to open an Iframe

I have this javascript, and I want to do that instead of opening a new window, it opens an iframe. window.self.name = "emanager"; function MostraBarra(){ if (document.incluir.balancete_arquivo.value != ""){ window.open('<%=BARRASTATUS%...
asked by 17.07.2018 / 00:39
1
answer

How to display data (.log) in real time in an HTML page?

So, I'm trying to make a logger that can be viewed on an HTML page, in real time. The page loads all .log's files (from: / clearing-dit / logs /) and makes it possible to click on each one to show its contents. <button type="submit" class="...
asked by 16.07.2018 / 20:40
2
answers

Animation zoomIn flashes with mouseenter

I'm using animate.css to zoom in on an image. The idea is that the animation works only with the hover / mouseenter, that is, when the user hover over it. When I use any animation other than zoomIn, it works normally; however, with the code belo...
asked by 14.07.2018 / 19:17