Questions tagged as 'javascript'

1
answer

Converting numeric bases with JavaScript

How to build a table with JavaScript to display decimal, binary, octal, and hexadecimal numbers. For (var i=0; i <=<?php echo $num ?> ; i++){ ...................... } document.write .... The variable $num is obtained vi...
asked by 11.05.2017 / 03:08
1
answer

Function to show the id of the elements of a page in a span id="span" / span

The javascript should be with event onmouseover function mostrarID() { ......................... ......................... } document.onmouseover = mostrarID; HTML example O ID é:"<span id="span" style="font-weight:bold"></span...
asked by 10.05.2017 / 23:47
1
answer

Error creating php mysql line graph

I'm trying to make a line chart with php and mysql like this: jsfiddle based on that tutorial . My graph only returns empty with undefined columns: The idea is to make a graph where it contains 1 line per technician. Follow the fil...
asked by 11.05.2017 / 01:10
1
answer

Problems with slide owl-carrousel

I'm developing a site and I'm using owl-carrousel2 but I'm having a problem with the nav option, I'd like it to appear on my site, I simply add it to that page, does not appear when I look at the console my nav:true appears with a...
asked by 09.05.2017 / 21:39
2
answers

Help with JSON and jQuery

Hello. Home I have the following code: JsFiddle Home In it I have 6 checkbox from 0 to 5 stars, and when I click on a checkbox it filters a json displaying the hotel that has such a star so everything is fine. The problem comes when I select...
asked by 15.05.2017 / 18:54
2
answers

POST locks the script and does not execute the code after submitting the form

I have a problem at hand. I have a credit card form, where the customer will fill out the data and be submitted to the bank's evaluation. However, it should run some operations before from reaching the function that will send its data to the p...
asked by 15.05.2017 / 16:26
1
answer

Json.parse does not convert to array

Hello, I am a full-fledged amateur in php and javascript and after a month of fighting with two languages that I had never stirred I got here. I'm trying to pass a JSON from a request back to array in my javascript, but when I use parse and p...
asked by 26.04.2017 / 14:21
1
answer

How Web Workers work in Chrome

I am using a WebWorker and locally it is not working and I am not able to find a solution. I created a test file to illustrate here: WebWorker.js var i = 0; function timedCount() { i = i + 1; postMessage(i); setTimeout("ti...
asked by 27.04.2017 / 15:07
2
answers

Angular does not recognize an out-of-control variable

I have a doubt, I have already tried other forums and I did not find the solution. I tested the code below for demonstration purposes only. *//dentro do controle do angular* angular.module("NaBalada").controller("NaBaladaLocal", function(data)...
asked by 26.04.2017 / 01:08
1
answer

Div daughter override the parent div that has overflow: hidden

I'm wanting the div div 'overlap' the parent div that has an overflow: hidden and a fixed size. This parent div is an item from one of a carrousel library made with JS and it adds a fixed size and an overflow: hidden and inside that div I have a...
asked by 26.04.2017 / 20:56