Questions tagged as 'javascript'

0
answers

Ranking in javascript

I've managed to save the runners at the local Storage, however, I want, on another page, to compare the athletes over time and display a leaderboard with the competitors' name and time, how can I do that? Here's the code you've done so far: wi...
asked by 22.04.2017 / 19:34
0
answers

How to use the flot chart on a web server?

Good I have an Apache web server running on a raspberry pi. This web server has a view_action.php file that makes the include of another page graph.html. This graph.html is a copy of a .html code from the flot chart examples folder. The jq...
asked by 25.04.2017 / 22:46
0
answers

Assemble a dynamic search

How to do a filter search in the database using this example below: The bank variables are: Nome Professor T | Matricula T |Nome Professor S | Matricula S | Nome Professor A | Matricula A | Turma | Ano | Unidade | Modalidade | Tipo do Profe...
asked by 25.04.2017 / 22:49
1
answer

Do not hide div when performing function

Hello, I'm doing a college project where I have to use web forms. By default in my project I have a div that is like none by default in css, and inside this div is a small form, as follows: NOTE: I forgot to mention that this form is opened b...
asked by 25.04.2017 / 22:46
1
answer

Popular inputs with jquery and insert table rows at the same time

I have an input that when you insert the enrollment (ID) of a person, the rest of the table populate dynamically, and another row of the table is automatically inserted, which would work the same way, the enrollment and the rest of the row compl...
asked by 01.04.2017 / 06:22
0
answers

Chat in CakePHP

My colleague and I developed a chat in CakePHP 1.2 (the system is somewhat old) using Ajax. But the only problem is that it needs to be making requests to the database at all times, with a defined interval, in search of new messages, more or les...
asked by 27.03.2017 / 14:27
6
answers

Use a semicolon at the end of lines in javascript?

I've read some web comments about whether or not to use ; at the end of the lines when writing JavaScript. Some say yes, others say they have no need, but none can explain the reasons for the divergences. Example: var ola = "Olá"; //...
asked by 31.01.2014 / 01:18
1
answer

How to clean a service at the end of its use Ionic / AngularJs

I have a service that looks like this: angular.module('nhaac.services', []) .factory('sharedCartService', ['$ionicPopup',function($ionicPopup){ // OKAY, MAS ONDE ELE ESTÁ PEGANDO? // DECLARA AS VARIÁVEIS var cartObj = {};...
asked by 29.03.2017 / 21:20
0
answers

How to create a charts in excel via javascript

I need to implement a solution in which I have to mount a charts on excel using javascript/angular . I already have charts rendered on the screen using chartsJS , however I need to export them to excel , no...
asked by 29.03.2017 / 19:07
2
answers

Add +1 to an Id when adding fields dynamically

What command does JavaScript use to add +1 to an id name of a given field in a table? Dynamically add tr and in this tr a field has a script that creates a new tr with the same fields as the previous one. How do I make th...
asked by 29.03.2017 / 16:23