Questions tagged as 'javascript'

0
answers

I need to create a message history that updates in real time [closed]

I created a chat, where 2 people can chat. besides the option to write a new message, the chat presents the user with a message history that shows the messages exchanged between him and the other user. as soon as a user writes a new message, it...
asked by 25.12.2018 / 22:40
1
answer

nodejs and express with conection timeout (h13) in heroku when dealing with pagseguro notifications

Hello, I have an api in heroku and she communicates with the pagseguro api (notifications), the wheel that handles the notification needs to pick up the transaction code that is received by post, make an appointment in the pagemobile api get the...
asked by 26.12.2018 / 13:22
1
answer

How to run a hide with ajax

The difficulty in question is how to recover the Id or the class of TH / TD being that the code is in a variable within a FOR I will try to explain with some images. After a search in the database, and I can list all the people in my family....
asked by 14.11.2018 / 20:43
0
answers

Make Direct Link with page information

A few days ago Blogger changed their video sharing system. Before they provided 1 link like this link Now to have the video they have put a button with the option to download the video. clicking on the link that address is provided...
asked by 13.11.2018 / 14:08
0
answers

Javascript and Firebase

So I have an error in this code and I want it to send the data of the president to the firebase and in the case I want it to contain +1 vote so the value that is registered in the firebase when I vote is 0, like me I'll take this. let digito1...
asked by 14.11.2018 / 19:45
0
answers

Variable in EJS

Good morning everyone! So, come on: I'm trying to use Plotly to generate a bar chart, and it accepts variables. I have a connection in NODE.JS with a database, and NODE.JS in thesis (After a console.log in the route) is passing to the view wh...
asked by 11.09.2018 / 14:24
1
answer

Error authenticating Json with php passing header

I'm having a small problem querying a URL with JSON file. Basically my code returns bool(false) . $usuario = 'root'; $senha = '123'; $header = 'Authorization: Basic ' . base64_encode($usuario . ':' . $senha) . "\r\n"; '...
asked by 11.09.2018 / 16:26
1
answer

Hide and open div under certain conditions

I'm having trouble opening and closing a particular search bar. I need to open a div while focus is in the field and take it out while it does not, but when you click on the div it is open it can not be removed or closed. I tr...
asked by 11.09.2018 / 15:03
1
answer

Onclick to close a modal without reload

This button closes a modal, but must be done without causing a reload. How is it? <button type="button" class="close" data-dismiss="modal" aria-label="Close" onclick="javascript:window.location.reload()"><span aria-hidden="true">×&...
asked by 11.09.2018 / 16:47
0
answers

Javascript copying content from another DIV that is not for copying

Can anyone help me please? The script I did is to transform the curriculum matrix that is in an ul into separate columns, but it is catching the curriculum matrix of other courses. I remember how to separate this by selector, but I can not un...
asked by 12.09.2018 / 15:43