Questions tagged as 'javascript'

1
answer

Lightbox on AngularJs 2

I'm still very inexperienced with AngularJs and so I'm into simple things. I need to use Lightbox in a project. "Googlando" out there, I found the angular-bootstrap-lightbox , but then me I came across the situation where all his documen...
asked by 22.06.2016 / 16:17
1
answer

Problem with editing database data

I had already asked a question before because the modal did not multiply with while (already resolved). This was the result: $editar = 0; $sql = mysql_query("SELECT a.n_processo,a.nome,a.data_nasc,a.cc,g.designacao, a.ciclo_formacao,t.t...
asked by 20.04.2016 / 18:55
1
answer

Angular Papers JS

Well, I have not found it in any other post, if there is srry :) finally I have the following config myApp.config(function($routeProvider) { $routeProvider // route for the index page .when('/index', { templ...
asked by 21.04.2016 / 04:41
1
answer

Call another page with bootstrap button not working

This very simple javascript does not work: function Nova() { location.href = 'pme_beneficiarios.html'; } This is the button call: <button type="button" class="btn btn-primary add-task" onclick="Nova();">Benefic...
asked by 06.04.2016 / 14:57
1
answer

DataTables table link

I need to create a link where I have the input name in the table using the DataTables, this link should call a javascript function. The problem is that when the table is loaded it runs the script for each row of the table, as if all the links we...
asked by 06.04.2016 / 22:40
1
answer

I want to do a function if (if) next to a multifunction function

I want to make a function if (if) with a multiplication function, so that if you choose the "modeloescolha" 2 (For noooossa joy), and the amount that the customer wants is only one, then in the " Total Price "will have the value of this purchase...
asked by 04.04.2016 / 14:42
3
answers

Show values with angle

I have the following code: $http.get('/estados').success(function(retorno) { $scope.ufs = retorno.ufs; console.log(retorno); }); and the result of console.log(retorno) is: NowI'mtryingtoshowthevaluesofthisreturnina<sel...
asked by 02.04.2016 / 21:50
1
answer

How to Validate a Form with Hidden Fields

This will be kind of complicated to explain but I believe you will be able to help me. I'm having trouble validating a form where it has some hidden fields in the middle. In this form there is a Select "Themes" that when selecting an option f...
asked by 05.04.2016 / 17:07
1
answer

Calculate Distance between markers

Well, I'm going to try to be brief and clear, I would like to know how I can calculate the distance between markers, the markers are already all on the map, but I need the code to calculate which is the closest to my location. I know my location...
asked by 30.03.2016 / 20:44
1
answer

Error: ArrayBuffer is undefined

Good morning everyone, I'm using html2canvas and jsPDF to export a div to PDF, it works in Google Chrome, firefox and IE 11, but in versions 9 and 10 IE is being displayed following message: Error    ArrayBuffer is u...
asked by 29.03.2016 / 15:02