Questions tagged as 'javascript'

1
answer

Tool to convert Excel to Json [duplicate]

I have an excell table and I need to generate a graph with Charts.js which uses json to mount the database. So how can I convert an excel table with 50 rows and 10 columns into JSON data.     
asked by 07.04.2016 / 15:35
3
answers

Reuse function on same page with Jquery (beginner) Change event?

What is the possibility of reusing $ .change? People have a problem. I need on the same page to use Multiple changes in multiple selects. It works like this: First change: User chooses to select 1 The change runs and a get json search v...
asked by 06.04.2016 / 16:40
1
answer

Calculate with Javascript and return in html

So people, I just need to get an HTML information and return the result of the calculation, but I could not. <html> <head> <title>Calculadora</title> <script language="javascript" type="text/javas...
asked by 14.07.2016 / 22:20
2
answers

Difference between dates in months javascript [duplicate]

I want to have the difference of months between two dates. But I'm missing something. I want to type the dates in the inputs and the result appears in another input. var DateDiff = { inMonths: function(d1, d2) { var d1Y = d1.getFullYear...
asked by 16.07.2016 / 04:42
3
answers

View Javascript image

I'm new to Javascript. I need to check if the user is browsing an apple or android and depending on the condition, show the corresponding store button. <script type="text/javascript"> var dispositivo = navigator.userAgent.toLowerCase...
asked by 15.07.2016 / 21:34
1
answer

Remove values from the graph bars

I need to get the bar numbers of the graph I'm using, but so far I have not figured out which option I'm going to do. I'm using Highcharts . Follow the image ]Followthecode:Highcharts.Chart({chart:{type:'column',renderTo:"grafico_invest...
asked by 16.07.2016 / 22:05
1
answer

How do I know which script manipulated a gift and modified the HTML attributes?

Is it possible to know through the console?    Imagine this story: You have several JavaScript files embedded in the header of the page, and when you submit a post, nothing appears in the return input, however it's not from PHP that it's do...
asked by 31.03.2016 / 15:41
2
answers

Display sum in span

I have a javascript code that sums the values of checkboxs selected and displays in a input . However, I'd like to know how do I display the value in a span ? Here is the code below: <script type="text/javascript">...
asked by 30.03.2016 / 07:07
2
answers

Problems while validating quiz response with javascript

I'm trying to create a simple quiz but I do not have much programming skills. The intention is that when the user dials a response and clicks the button, a div appears showing whether it is right or wrong. Initially, I did with a...
asked by 30.03.2016 / 16:21
1
answer

What is the setRequestHeader method used in pure AJAX in POST mode?

What is the use of this traditional method, like% AJAX% pure when POST requests are made by the client to a PHP application on the server? I am always required to use it with setRequestHeader value without knowing its true function. I'd a...
asked by 18.09.2016 / 18:23