Questions tagged as 'javascript'

3
answers

How to popular line chart of google charts with JSON

I'm trying to pop up a graph of google-line charts, it will be quite simple just the client name on the x-axis and the amount of open calls on the y-axis, I'm returning the following JSON array    [{"Name": "Test Client", "Tickets": 6}] T...
asked by 29.07.2016 / 14:54
1
answer

Google MAP - Switch commas by using native JS

Hello, I'm using a google map function to return the distance between zip codes. function callback(response, status) { if (status == google.maps.DistanceMatrixStatus.OK) { kmDistancia = (response.row...
asked by 09.09.2016 / 18:22
1
answer

jQuery load access denied

I am facing a problem already known by many, in IE it is possible to use Activex to get the user logged on the network. In Chrome this is not possible and after many searches I got the same answer. I know there is a library in Java that can ge...
asked by 08.09.2016 / 17:50
2
answers

Do not load Splash for iOS in Phonegap Build

Hello, I have tried in many ways to build an app for iOS using PhoneGap Build . The app is generated normally. First the problem was the icon, always appeared the standard Cordova icon. I was able to display the icon by changing the files...
asked by 13.09.2016 / 18:54
1
answer

HTML excerpt as a parameter of a javascript function

I have little knowledge of javascript, how can I do to pass a video incorporation code into a function as a string? <a href="javascript:void(0)" onclick="exibirVideo('CODIGO DE EMBED AQUI')"> I'm having problems because I can not pass...
asked by 13.09.2016 / 20:49
1
answer

Random number in a range of numbers with pre-defined probabilities

I need to create a kind of roulette where a random prize comes out, taking into account: the type of prize, for example 5 different prizes better than others The better the lower the odds of getting out the stock of the prizes, take into...
asked by 14.09.2016 / 14:01
1
answer

Set amount of results returned by function that filters JSON

I have the following code to filter a JSON , it works perfectly, the only problem I'm having is to choose the number of results displayed. (currently only displaying a single result). var elemento = document.getElementById("galeria"); va...
asked by 19.07.2016 / 19:48
2
answers

Transition in CSS sequentially

I'm developing a quiz where Divs transactions are done via CSS. The problem is that the transaction of adding the next Div is being executed in parallel to the withdrawal of the current one. I would like to just start the animation of " removeco...
asked by 19.07.2016 / 19:00
1
answer

How to activate a navigation item dynamically

I've always tired of changing navbar of all my pages, and I've decided to create a file for navbar and always give include on the pages to make adding / removing items easier! But, my question is whether to make a system...
asked by 20.10.2016 / 04:09
1
answer

load ajax combo when opening page

I have the following code to load the cities: $(function(){ $('#cod_estados').change(function(){ if( $(this).val() ) { $('#cod_cidades').hide(); $('.carregando').show(); $.get...
asked by 20.07.2016 / 01:19