Questions tagged as 'javascript'

2
answers

Detect user's output from the text box

I have a text box that shows the remaining characters, how do I get that information, using javascript, when the user has already clicked on another text box (for example)? HTML box and counter: <textarea maxlength="210" rows="5" id="abo...
asked by 14.02.2017 / 12:18
0
answers

Dynamic date mask in JavaScript [closed]

Recently I had to perform a mask for dates with autocompletion, I searched and did not find answers to solve my doubts. When you type '4' in the first field, you should already enter '0', and so on. Well, I was able to come up with a code...
asked by 12.02.2017 / 12:19
0
answers

Adding forward and rewind buttons

I made a java script that changes the background-image of my <header> into the site, but I would like to know if it's in it to add the next (>) and previous (<) cursor to change the images when clicking in them already...
asked by 15.02.2017 / 18:05
1
answer

Referencing a import dynamically

Below I'm defining some imports; import users from './user'; import securities from './security'; import softwares from './software'; I want to be able to access them in the course of my file, but I can only access them dynamically if I do...
asked by 12.02.2017 / 00:12
2
answers

How to insert element into another created dynamically

When I load the page, I have some checkboxes: <input type="checkbox"> And when I get to the ready page, I want to put the checkbox inside a label with class 'checkboxPersonalizada', being as follows: <label class="checkboxPersona...
asked by 12.01.2017 / 01:49
1
answer

File php work alone automatically [closed]

I have a php file that sends information to: http://air.radiotime.com/Playing.ashx?partnerId=PARTNERID&partnerKey=PARTNERKEY&id=ID&title=MUSICA&artist=ARTISTA However, it only sends information when I reload the page, is the...
asked by 13.01.2017 / 02:06
0
answers

Site becomes responsive in the PC smartphone simulator, but in practice it is not responsive [closed]

Good afternoon I'm having trouble getting my site responsive, because it's properly responsive to the PC simulator (link below) SITE: link SITE MOBILE VERSION: link Butinpracticeitdoesnotlooklikethis,mysmartphonerecognizesth...
asked by 30.12.2016 / 16:52
0
answers

Problems logging in using facebook sdk

I use the default facebook login sdk where the documentation can be accessed here . (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "/...
asked by 02.01.2017 / 19:37
0
answers

Google Maps does not work on Mobile [closed]

I have this HTML code below and it used to work, suddenly the map does not load anymore and I can not solve the problem. can anybody help me? I test in Firefox and Chrome on Android. <html> <head> <meta http-equiv="content-typ...
asked by 04.01.2017 / 18:06
2
answers

What does the "=" operator mean?

I was seeing some solutions in JavaScript and in one case I saw this command line: return args.reduce((s, v) => s + v, 0); . But I do not know what the => operator means. What's his role?     
asked by 21.02.2016 / 01:09