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 = {...
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...
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...
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"...
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...
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...
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...
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...