Questions tagged as 'javascript'

0
answers

Validation: What is the method used in this example?

I'm studying ways to do form validation. I've tested with Javascript, with HTML5 features and some other methods, but they all have something in common. I always have to call a function in onclick (), onblur () and the like. I would not...
asked by 22.01.2017 / 06:38
0
answers

Store data from a multi-input form in some file type and then reload it on the same form?

I created a form, but now I would like to save the data to a file and then retrieve it, I found this question: # Follow the code below: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">...
asked by 05.01.2017 / 01:48
0
answers

Touch Event in Jquery [closed]

I'm starting in jquery and I'm having trouble touching this function, it does not work on mobile. $('#font_family').change(function() { svgCanvas.setFontFamily(this.value); }); document.addEventListener("touchstart", touchHandler, tru...
asked by 05.01.2017 / 13:43
1
answer

How do I calculate using onblur between 3 fields

I have 3 fields in a form. Putting the value in one, when leaving this field, lavascript should make the calculation and popular the other two each with a result: EX: Campo 1: Entro com o valor 10 Ao sair do campo 1, deve fazer Campo 2 = Ca...
asked by 06.01.2017 / 02:10
0
answers

How to dynamically initialize a select2 in angularjs

Hello everyone, I'm using the select2 plugin in my project. I need to create multiple selects2 dynamically, by angular. I have a vector of objects (with id, name) and I need from an event, in a function to generate a select to of each object, be...
asked by 25.10.2016 / 22:34
0
answers

Last Selected Menu Item

Personal I have a tree structure, and I'm making a menu with the elements of it, but I need the last element to be selected. Can someone help me? viewModel = kendo.observable({ currentItems: [], navigation: [], initialize: functio...
asked by 24.10.2016 / 20:37
1
answer

Pipe function () javascript (node.js)

How does PIPE () work in javascript (node.js)? I see it a lot in the gulp and would like to know how the function works directly in javascript.     
asked by 05.01.2017 / 22:59
1
answer

Multi language site / Multi Language (Automatic country detection without permission) [duplicate]

I have a small project and would like to create a multi language system for the site. I found several forms here on the site, but I did not see any with this example, which stackoverflow also uses. How to do it? In this way I identify th...
asked by 27.10.2016 / 12:24
1
answer

Handling JavaScript Images [closed]

Does anyone know of any library for image manipulation in JavaScript? I wanted to put two pictures in one, in certain preset positions. An example is those tests for facebook, which takes the image of a particular person's profile and added it t...
asked by 24.10.2016 / 22:47
0
answers

Configuration electron js on windows

I'm studying electron js and following this tutorial link however in windows there are some errors. First of all I gave the bug because of the enviroment in windows, I managed to solve this but then started another problem to run the npm run d...
asked by 10.11.2016 / 15:55