Questions tagged as 'javascript'

2
answers

call an .exe in javaScript or html [closed]

I'm migrating a desktop system to the web, we already have a great part ready, I would like to upload it and call what is not yet ready for the application by the browser, I would like a help, in the following question what is the best way to do...
asked by 30.05.2017 / 22:02
1
answer

How to make steps progress using circle

I am developing a screen using student progress, for example, it has 10 activities to complete, and it is in activity 2, so this represents 20% of the total activity. I would like to represent this through a circle, a button for the next exer...
asked by 04.08.2017 / 03:49
1
answer

Elaboration of text for pagination description

I have text that shows how many items are being viewed per page based on total items in the bank. Look at an image: Icreatedan"algorithm" (which I am not thinking legal) to define in a label this text showing that data. The function rec...
asked by 12.08.2017 / 22:40
1
answer

Text field formatting for PIS / PASEP

It's not really a question, it's an aid. I've been searching PIS / PASEP mask and did not find it so it was the way to implement it. I'll put the answer below. Hugs.     
asked by 08.03.2017 / 20:04
2
answers

How to define custom name in array index in Javascript?

In PHP we can use: $validation = [ 200 => ['icon-check', 'The key match with the message!'], 400 => ['icon-close', 'The key doesn\'t match with the message!'], 403 => ['icon-close', 'Impossible to verify, the key or text can b...
asked by 27.01.2017 / 11:52
2
answers

Change Field Dynamically

Hello, I would like to type change the next field next, in case it would be the name, I would type the name in the input and it would change the letters (type autocomplete), and when the user select the image it could do a preview, I think it...
asked by 08.02.2017 / 16:30
1
answer

Getting whole words with RegExp in Jquery

$.fn.wrapInTag = function(opts) { var tag = opts.tag || 'strong', words = opts.words || [], regex = RegExp(words.join('|'), 'gi'), replacement = '<' + tag + '>$&</' + tag + '>'; return...
asked by 11.12.2016 / 21:58
1
answer

Order increasing and decreasing angularjs

I have a dataset that organizes it by choosing, growing or decreasing, or I can leave it in the order that it already is. The system works normally with the order of the elements, the problem is that the elements are only being shown when the sa...
asked by 06.12.2016 / 15:25
1
answer

How to send Images via AJAX to php

Good afternoon, I would like to ask for your help. Home I have a system where I need to send an Image of a <input type="file>" to a PHP page via $.ajax() to it, I can upload this image to a sufficient one, while I take the pa...
asked by 03.12.2016 / 18:48
3
answers

Html + Css creation of frequently asked questions

Good afternoon, I started shortly to evolve my html + css for creating web pages will anyone be able to give me a hint how to do what is requested in the image below? . Basically when we click on the area where the arrow in the right corner...
asked by 05.12.2016 / 19:20