Questions tagged as 'javascript'

1
answer

Automatically reload the page at certain times

I need a code for web (Wordpress) that forces the reload of only the homepage of the site at a certain time, this for all users, for example at 6:10 p.m.     
asked by 28.07.2017 / 23:20
1
answer

How accurate is the geolocation of React Native?

I would like to know how accurate the data is that the geolocation of React Native, does it use the native geolocation of the cell phone? I wanted to get an idea of the margin of error of the location, whether it's meters or even KM ... or it...
asked by 28.07.2017 / 15:02
1
answer

How to start a function with onclick?

I have a script that basically reads a .log in real time and shows it on the screen, but the question is that it starts with the DOM, I would like it to start just from the click of the button, could you help me? / p> <?php if (isset($_GET['...
asked by 28.07.2017 / 13:39
1
answer

File Upload Questions

My question is regarding Uploading Files using the link I have the following JS code $('#arquivoCliente').fileinput({ language: 'pt-BR', uploadAsync: false, showPreview: false, maxFileSize:...
asked by 03.07.2017 / 15:05
1
answer

Code being executed only when double-clicking?

Well, I needed to make clicking on a button show the div's and if clicking another button and displaying some div (display: block;) would get a display: none; was what I did in the code below: function movel(){ var divMovel = document.ge...
asked by 05.07.2017 / 00:18
1
answer

DataTables - Default ordering

How do I make a table already come sorted by a particular column in the DataTable?     
asked by 04.07.2017 / 16:53
1
answer

How to mount a ng-repeat using track by?

I have the following HTML <div class="col-md-4"> <div class="exibeUnidades"> <table width="400"> <thead> <tr> <td width="100"><b>Profissionai...
asked by 16.08.2017 / 20:21
1
answer

Use delete method with express

Hello, I'm trying to send a value of a form (id) that will be handled by the expression (I do not know the technical terms for this, if you can help me too), I've tried a lot but I can not pass the id parameter on action and do not access the app...
asked by 16.08.2017 / 20:34
1
answer

Each row of the database enters a separate DIV

Good afternoon I'm trying to make a MySQLi query, that is, I want each row of the database to go into a separate div, I searched and did not find anything similar to what I think it gets in a difficult way to understand HTML code <div id...
asked by 07.06.2017 / 19:40
1
answer

Enable arrows in horizontal scroll

I have a horizontal scroll, how do I get the start and end of the scroll, I need to enable and disable the arrows. function avancar() { document.getElementById('elementos').scrollLeft += 20; } function voltar() { document.getElem...
asked by 08.06.2017 / 20:25