Questions tagged as 'javascript'

2
answers

Textarea increase as text

// But without using function and picking up more than one TEXTAREA function autoResize() { objTextArea = document.getElementById('txtTextArea'); while (objTextArea.scrollHeight > objTextArea.offsetHeight)...
asked by 21.11.2017 / 19:00
2
answers

Keep script running

I wanted to know if there is a way to keep a php script running internally on the server even with the browser turned off. I do not mean scheduling tasks, but maintaining a process as soon as it gets off my system. I saw in a bitcoin mining comp...
asked by 11.12.2017 / 21:31
2
answers

Is it possible to change text from a "content" of a CSS pseudo element via Javascript?

Example below #test{ content:"blablabla"; }     
asked by 14.12.2017 / 02:13
2
answers

Format date AngularJS [duplicate]

I have a problem formatting the time that appears in View, it is coming as follows: ButIwouldlikeittoappearintheformat"hh: mm: ss". The html code is as follows: <input type="time" class="form-control" ng-disabled="!salvo" required ng-mod...
asked by 28.08.2017 / 16:27
2
answers

VueJS Router-View and Axios

I have a page with 2 structures using router-view. Menu and Content . or on my Menu I have a page called " Stores " on this " Stores " page has a table, I give an Axios.Get on my API and it returns me a JSON that plays to the " Stores tabl...
asked by 21.09.2017 / 22:02
2
answers

$ window.location.reload ()

I use AngularJS in a webapp, in this webapp I have implanted a map where it shows my clients from a marker. The map I'm using is Leaflet ( link ) with a directive for AngularJS ( link ). My problem is this, when I first access the map, it wor...
asked by 16.01.2017 / 11:43
2
answers

Open modal second only after closing the first

It seems simple but with difficulties, I have two modal that has to appear in the home after login of the user, I need to appear one and only after the user closes that first appears the second modal. I have the following code: $(do...
asked by 18.01.2017 / 18:22
2
answers

Animation in native HTML5 ProgressBar

How to animate ProgressBar below using JavaScript? <progress max="100" id="myBar" value="0" class="progressBar"></progress>     
asked by 31.01.2017 / 01:23
3
answers

How to compare indexes of two objects and return what is different?

I would like to compare these two objects and return the index that is different. In this case it is to return the 4th of the second object (it will always be different in the second). var arr = { 1 : 'Corsa', 2 : 'Ka', 3 : 'Pálio'...
asked by 26.01.2017 / 14:17
3
answers

Error formatting zip code

I'm having problems with my script, when the Zip Code field is already formatted, it clears the field by clicking the button again. How do I not accuse it as an invalid format or not clean the field when it is already formatted? Script...
asked by 13.11.2015 / 00:02