Questions tagged as 'javascript'

0
answers

I can not upload images to Chrome - Play! Framework

Hello, I'm using Play! Framework and I'm having a problem trying to upload images, especially in Google Chrome: [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel....
asked by 28.06.2016 / 03:50
0
answers

Problem with minimum size in chart chart

var config = { type: 'radar', data: { labels: ["Confiança", "Atividade", "Juros", "Condições de financiamento", "Concessões reais", "Atratividade do Financiamento Imobiliário", "Emprego", "Massa salarial", "Atratividade do...
asked by 26.07.2016 / 16:10
0
answers

Quiz with listing, adding points and categorizing

Hello. I need to create a Quiz. This Quiz consists of 40 questions worth 1 to 6 points. After voting on the 40 questions is listed all 40 questions and the respective scores made by the user in order from highest to lowest score. Shortly thereaf...
asked by 28.07.2016 / 20:34
1
answer

JavaScript does not recognize Dropdownlist

At every dropdownlist data change I should call a function. But I can not get it into the function. I used Onchange but it does not work. How to do? Asp code: <asp:DropDownList name="ddlFormaPagamento" ID="ddlFormaPagamento" runat="serve...
asked by 29.07.2016 / 18:01
1
answer

Capturing actions: Scroll Down and Scroll Up

Is there any way in jQuery to capture the events of "ScrollDown" and "ScrollUp"? I tried this way: var lastScrollTop = 0; $(window).scroll(function(event){ var st = $(this).scrollTop(); if (st > lastScrollTop){ // downscroll...
asked by 13.07.2014 / 21:36
1
answer

Speed up animation - js

Hello, I would like to know how I do in js or if you have some plugin that facilitates those unique page animations. You click on the menu and it goes down to the section you selected, I can do animation with a fixed speed, but I wanted to make...
asked by 28.07.2016 / 21:56
0
answers

Add items from a Kendo Chart category

I have an array with the percentage of each chart item, similar to the date. I am trying to build the template, according to the code template: "#= series.abbr #: #= value # (#= series.percent #) . Here is the code: $("#chart").kendoCha...
asked by 08.06.2016 / 14:27
6
answers

How to put default arguments (default) in a JavaScript function?

In R this would be very simple: funcao <- function(x=10) return(x) If you call funcao() without arguments, the result will be 10 . How to do the same in JavaScript? And how do I know if there are default values in...
asked by 09.05.2014 / 17:28
1
answer

Resize the form as hidden fields are displayed

The form has a white part at the end because it is considering the hidden fields. the scroll bar should drop down to the orange div and not exceed. <!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content=...
asked by 11.07.2016 / 05:21
1
answer

Gulp Watch, SASS does not change you

My GULP: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload = require('gul...
asked by 11.07.2016 / 21:34