Questions tagged as 'javascript'

0
answers

Put automatically generated side-by-side icons in javascript / HTML

I would like you to stand side by side. Every time the client uploads the contract, it stays horizontal. I would like to stay upright. Followthecode:vartxt=""; if (json.code == 1) { $(json.data).each(function () { txt += '<di...
asked by 15.08.2018 / 20:33
0
answers

xmlhttp.open, does not accept subfolders

I have a problem. I do the XMLHttp request and everything works fine, however, at the time of opening json it does not load because it is inside a folder, I try as follows ("GET", "date / data.json", true) do not open. If you use the file outsid...
asked by 15.08.2018 / 17:07
1
answer

Angular - Take data from an json object and put it on a table along with another object

Hello, I was wondering if anyone could help me, today I have a table that receives data from a component (Media), I have another component that is playlists, in the playlists I associate the media with a playlist. In the stocking table, I want...
asked by 18.08.2018 / 00:30
2
answers

Applying contrast on the page by means of cookies

I have a button on an accessibility bar, which when clicked calls the following function: function contraste2 () { var css = document.querySelector('#css'); var contraste = Cookies.get("contraste"); if (contraste == "contrastein...
asked by 10.08.2018 / 19:15
1
answer

wanted to put dot / circle controls in my slideshow, can anyone help me?

I would like some dots below the slideshow so when I click on the first dot the slider goes straight to the first slide, but I can not, can anyone help me? HTML: <html lang="pt-br"> <head> <meta charset="UTF-8"/> <ti...
asked by 10.08.2018 / 18:00
1
answer

selecting an item in the combobox

I have the following combobox as shown below, it is populated with the data coming from a table of a database, so yeah, I would like when an item of the combobox was selected an input was displayed, and when it was not No input item is hidden. I...
asked by 10.08.2018 / 17:16
1
answer

How do I place next / prev buttons and dots controls in my slideshow with css / javascript?

Hello, I'm going through a lot of difficulties to make my slideshow, the best I got was an automatic slideshow, but I'd like to include prev / next arrows to control and buttons underneath as well, can anyone help me? HTML: <div class="...
asked by 09.08.2018 / 19:11
0
answers

Error creating thumbnails in a list

I'm getting error in generateThumbnail and appendChild, I'm trying to create the thumbnails of each video, and their links are in the href of tag a, I want to create the canvas inside the tag a or li, I tried to create counting each one and exec...
asked by 09.08.2018 / 20:54
2
answers

Help with searching information in an html with js / node

I'm having trouble implementing a code. I've been helped some other time and now I'm needing it again. The purpose is a script that helps me to remove from an html the name of the teachers and the link from their respective lattes, save somehow...
asked by 09.08.2018 / 21:12
1
answer

Go through JSON to construct waterfall graph D3

I need to construct a graph in waterfall and I'm having trouble scrolling through the JSON to construct this graph. data = { "key": "Margem bruta", "total": 30000, "value": [ { "name": "Gastos com pessoal", "value": -3700 },...
asked by 21.08.2018 / 13:17