Questions tagged as 'javascript'

1
answer

Insert HTML string on page with fade in

$("body").append('<div class="shadow-full"></div>'); But it appears at once, wanted to have an effect for it to appear more smoothly, can you do that?     
asked by 18.12.2016 / 20:09
2
answers

Pass variable from AJAX to php

I do not have much experience in Ajax, I needed some help. It's the following, I have a form that validates the information with ajax. Now I wanted to insert this data into the database, how can I insert the username variable into the database,...
asked by 12.04.2016 / 19:45
3
answers

AngularJS take a data from the input that was filled by a JS

Good morning, I'm a beginner with Web, although I know how to program in other languages. My question is as follows, via the path cep I got the algorithm that fills the address fields through a Javascript. My imput is this: input class="for...
asked by 25.04.2016 / 16:00
2
answers

Create a canvas animation on video

I'm doing a small web application where I need to, from some coordinates make a box (rectangle) move frame by frame. In my code I have been able to extract the current frame of the video but I can not make the box move frame by frame, follow the...
asked by 29.04.2016 / 00:35
2
answers

Tooltip CSS transition

I want to create a tooltip (div hover in the image) with CSS and javascript , using javascript only for the div style. I have the following jsfiddle example I want to use transition in javascript (DO...
asked by 11.05.2016 / 12:17
1
answer

How to convert px into vh and vw in JavaScript?

I want to convert px into vh and vw in JavaScript, how can I do that? example 23px = valued vh or vw     
asked by 13.03.2017 / 00:20
1
answer

Convert date and time to numeric value in JavaScript

I saw in kibana , the dates are treated as numeric values, for example, the date: 2016-05-03T10:00:00 is equal to the numeric value: 1462280400000 . I would like to understand how this works, and what function it can convert.     
asked by 03.05.2016 / 15:26
4
answers

How to insert a property into a javascript object?

I have the following javascript object: data2 = { "desColigada": "Empresa fulano de tal", "codMatricula": "00555454", "dataImpressao": "23/05/2016" }; I need to know how to insert this array into the above objec...
asked by 29.03.2017 / 21:03
1
answer

How to extract space-separated words via Javascript

Continuing the marathon of articles regarding extraction of texts, I noticed that this type of question is very difficult to find next to a clear and direct answer. In order to take away my doubt and certainly the one of other users, today's...
asked by 14.05.2017 / 14:25
1
answer

Download Javascript Array in a Combobox

I would like help in this small problem, I have to do a combobox shows 5 states being loaded by an array in javascript, my code is like this. HTML <select > <option id="estado"></option> </select> My Javascrip...
asked by 15.05.2017 / 16:37