Questions tagged as 'javascript'

1
answer

Average calculation in JavaScript using HTML form [duplicate]

I need the average to be displayed by an alert () HTML: function calculoMedia(n1, n2, n3, n4) { var media; var n1 = getElementById('n1').value; var n2 = getElementById('n2').value; var n3 = getElementById('n3').value; v...
asked by 14.06.2018 / 18:59
0
answers

Transform structure with pure Javascript

I have the next structure <li class="col-md-4"> <figure> <a class="list" href="#"><img alt="" src="image.png"></a> <div class="color"> <small>teste</small> &l...
asked by 14.06.2018 / 19:41
0
answers

Import file (excel, text), and display in a html page

All, good night. Look, I need some help. I made a presentation of results (print below), where the results are inserted in the notepad itself (brackets in my case) and shown in an html page (html, css, bootstrap). the results appear inside conta...
asked by 07.06.2018 / 23:55
0
answers

Import file (excel, text), and display in a html page

All, good night. Look, I need some help. I made a presentation of results (print below), where the results are inserted in the notepad itself (brackets in my case) and shown in an html page (html, css, bootstrap). the results appear inside conta...
asked by 07.06.2018 / 23:55
0
answers

Sending a cookie on a request with JS

I have a login screen that gives access to a people viewing screen. I need to pass a cookie to the request that will call this list of people (which is an HTML file and inside it, has a JS file that gets these people from my API). Can anyone exp...
asked by 13.06.2018 / 02:14
1
answer

Feed div after receiving new data

I started to implement a chat and needed to update the div where the messages are inserted, but when I receive new messages I need to update the page to access, and if I set a timeout for every 10 seconds, and I'm still typing something there up...
asked by 07.06.2018 / 06:30
1
answer

Navigator Geolocation, questions and problems

I'm having a problem with navigator, I'm trying to get it to refresh the map and I can get and check the user move update for the map, but I have no idea, I thought about using a reload map function, however reloading it all and getting informat...
asked by 07.06.2018 / 04:32
0
answers

Exporting html to excel does not work in Firefox

I'm trying to export my table to excel, but I'm not sure how to do it.
asked by 19.06.2018 / 22:50
1
answer

Making a button read functions

I'm a beginner in programming and I need help with the function of a button, I do not know how to make that button "read" the old values, the idea of the site is to enter the information to see if the person requires or not retirement This is...
asked by 19.06.2018 / 22:10
0
answers

Overlap value of styles passed dynamically

I'm using jquery superfish to do some optimizations on a menu. This plugin passes the value display:none or block to the element sub-menu Like this: <ul class="sub-menu" style="display:none"> </ul> Wha...
asked by 01.07.2018 / 18:16