Questions tagged as 'javascript'

1
answer

How to use Google Maps on Ionic to load multiple locations

I am using Ionic 1.3 and creating a Map screen, this screen will have a menu to select the specific destinations and another that is the maps with the location. Example of the destination choice screen: Controller: var mapasJson = {...
asked by 03.08.2016 / 21:30
0
answers

Can I access database using electron js? [closed]

Can I access database with electron js, is there any limitation on its use? if so which ones?     
asked by 30.07.2016 / 04:43
1
answer

Performance in multi-loop applications

When searching a bit, I found several Java code to calculate the determinant of an array. I passed one of them to javascript and it looked like this: function determinant(A, N) { var det = 0; if (N == 1) { det = A[0][0]; } else if (N...
asked by 16.07.2016 / 13:21
1
answer

Problem code multiplayer game NodeJS

Hello, I'm having trouble creating a real-time game with node.js, below is the part of the client: var position = {x:0, y:0}; var canvas = document.querySelector("canvas"); var context = canvas.getContext("2d"); var ws = io.connect("http://loc...
asked by 12.12.2015 / 03:29
2
answers

I can not align a label inside a td

In a calendar, I need to put a label next to it. It turns out the label is getting below it. If I open another one the label is on the far right, and I need it right next to it. Here's a table: <tr> <td style="text-align:right"...
asked by 08.12.2015 / 18:18
1
answer

Tooltip with mouseover inside a column of a grid js

I have this grid: function CarregarGrid() { $('#gridConteudo').jqGrid({ colModel: [{ width: 80, name: 'COD_OPERADORA', index: 'COD_OPERADORA', label: 'Operadora', formatter: GridOperadoraFormatter },...
asked by 04.12.2015 / 12:48
0
answers

JS error for PieChart NVD3, I can not identify the problem

After updating the version from nv.d3.min.js to version 1.8.6 , when I hover over the chart there are countless errors in the return function, and tooltip stopped working too, I read several manuals and materials including git...
asked by 04.10.2017 / 14:40
2
answers

JavaScript mask error

I'm having trouble with the javascript mask for the phone field, I'm developing mobile and I'm using the codes below. input code: <input type="text" name="telefone" id="telefone" maxlength="15"/> javascript code $('#telefone').ma...
asked by 02.12.2015 / 03:52
2
answers

Treat AJAX return (responseText)

I made a code in AJAX PHP executes and prints in the HTML the result of the SQL query, the problem is that when it displays on the screen, the data is not treated, look like this: WhatIneedissimplytodisplayonlythecontentsof'ayzac_episode_name...
asked by 05.10.2017 / 00:51
1
answer

Creating routes for large pagination

I created a RestFull api in Laravel. In the project I have javascript and html in a folder that calls the API. Soon I created a pagination in the own laravel that I called in my own project in javascript. However, I need to resolve the paging...
asked by 16.10.2017 / 15:27