Questions tagged as 'javascript'

0
answers

Mask or format value in input on angular2

How can I do to format or use masks on inputs with angle2, for example for money In this input: <input type="text" class="form-control input-sm text-right" id="representPercDiagnostico" placeholder="DIAGNÓSTICO"...
asked by 06.04.2016 / 21:34
1
answer

CodeMirror does not display first in a modal

I am creating a standard template for reading XML and to make life easier for system users, I am displaying a sample default template in a modal with the codemirror, however, it does not display at first, the code is only displayed when I click...
asked by 26.01.2016 / 14:02
1
answer

Jquery Validate does not run the event when fields are autocompleted

I'm trying to validate a form without submitting it. What I've done so far works well. The problem is when the autocomplete browser completes the login and password that have been saved to the IP. If I delete the auto-completed field and give fo...
asked by 07.04.2016 / 22:15
1
answer

Add multiple rows with jQuery using .text

I'm doing the project for school, I'm in the chat part and I have a question. In the part of sending messages in jQuery: socket.on('newMessage', function(data){ $chat.append(data.nick+' - ' + menssagem+ '<br/>' ); }); But the...
asked by 06.04.2016 / 19:43
0
answers

JS printThis does not print content included in modal

I have a problem with printThis js plugins, it works fine on the local machine, but when I try to use it on the server the print file loses the css content and does not show the images and labels that are in the modal content. I already tried ed...
asked by 22.01.2016 / 17:21
1
answer

Are there security issues when using sessionStorage for data storage?

Is there a security issue for a web system that uses sessionStorage to store temporary data for a user? In practice, is using sessionStorage good practice? In my application, instead of always performing a request to the datab...
asked by 22.01.2016 / 23:12
0
answers

Function Geolocation.getCurrentPosition does not work on Chrome 50.0

I have a system in JSF that asks the user for permission to read their coordinates, this system always worked, but after the last update of Chrome, it stopped working. Someone is going through this with this new version (50.0.2661.75): <scr...
asked by 18.04.2016 / 22:30
0
answers

Remove markers from a map at the end of the animation

I have a map with several animated markers and would like each of them to be individually removed at the end of their movement. I'm using the Leaflet library, just like Leaflet.MovingMarker. I've already tried using the isEnded and end...
asked by 18.02.2016 / 03:11
0
answers

Find friends who have confirmed an event in graph_api

I've been researching for a while how to do this type of request without using FQL (since FQL is obsolete). The only method I actually found working is to get the list of people who are committed in the /{event-id}/attending event and the...
asked by 14.01.2016 / 14:34
1
answer

Validate field with CustomValidator

I have a field that is populated with an automatic date, this field is validated with customValidator so that the date is not empty, the problem when the field is validated with empty and I click on some control of the page that Postback, valida...
asked by 15.01.2016 / 12:36