Questions tagged as 'javascript'

2
answers

Div Fixed with FadeIn effect

Opa, I have a div on the side sidebar_right , when scrolling the page it should go to the fixed footer, I'm using it like this: $(function () { var jElement = $('#sidebar_right'); $(window).scroll(function(){ if...
asked by 18.06.2016 / 14:17
2
answers

Doubt with node.js - Error: route.js: 162

I'm having trouble running my application. I made the right mappings, according to the book in which I am learning (MEAN stack of the Code House). Express.js file // config/express.js var express = require('express'); var home = require('.....
asked by 07.07.2016 / 22:40
0
answers

Doing scrape on Instagram

I would like to know if it is possible to "grab" the links of all the photos of an instragram profile without using Api? With the code below I can only get the 20 most recent photos. $.getJSON('https://crossorigin.me/https://www.instagram.c...
asked by 02.08.2016 / 17:59
1
answer

format a multi caption with "R $" using Chart Chart JS

When I add a second line in the chart the caption is incorrect "without the $". How can I solve this problem? Thank you function formatar(valor) { var moeda = 'R$'; valor = ('' + valor).replace(',', '.'); valor = ('' + valor).spli...
asked by 18.05.2016 / 21:40
1
answer

Change the text according to the slide image

Hello, I'm messing around with HTML / CSS, I've been making a slide and I've had a doubt, probably from JavaScript. I made a mini slide of featured products, and on the side of this slide, has the text referring to the product. Is there an...
asked by 02.08.2016 / 14:29
1
answer

Maps API Cordova - Add multiple markers

I'm using the code below to add multiple markers on the map. With each click a marker is added. In Chrome the code works perfectly, however, when generating the code using cordova the map is displayed but no bookmarks are added. functi...
asked by 02.08.2016 / 00:52
2
answers

JSF - How to pass a Bean function as an argument to a function in JavaScript?

I would like your help. I am developing a system in JSF, and I have the following need: I would like to pass a bean function as an argument to a function of mine in JS, so that I determined future moment I can call such a function. For example:...
asked by 02.08.2016 / 04:33
0
answers

Return json from a mysql blob

Good afternoon, I have a json returning data from a MySQL DB and one of the attributes is a BLOB. Here is the return to better understand what I would like to know. [ { "id": 1, "name": "Onix", "description": "Completo", "pr...
asked by 28.06.2016 / 19:17
0
answers

sessionStorage: 10 different items with the same name

Friends, I'm doing a sessionStorage for 10 items. I'm counting every click I make on a div and I'm adding a number. so that's fine, but let that number go back to zero when I click on each of the next items. Follow the code; <div class="ele...
asked by 27.06.2016 / 19:38
0
answers

Dynamic checkbox that imports columns from tables in mysql

I use an mpdf library to generate pdf querying my database. I have to add columns dynamically in this pdf using checkbox. Each checked box adds a specific column in my pdf and unchecks is to disappear. I would like to know how I do this ..prefer...
asked by 28.06.2016 / 17:09