Posts by JPTS • 19 points
4 posts
- 
		0 votes2 answers2683 viewsQ: Create character pattern as in a CPF - JavascriptWhat I want to do is: type a CPF without dots or dash and then add the dots and dash with JS, create a pattern. Example: I write 99999999 and the system returns 999.999.999-99. How do I do this in… 
- 
		1 votes1 answer206 viewsQ: Replay audio every time a button is clicked - Javascript and HTMLI want the audio to repeat from the beginning every time the button is pressed. Instead it only repeats after the audio has finished. (NOTE: I am using JSX) Javascript playShot() { var audio =… 
- 
		0 votes1 answer143 viewsQ: Use toLowerCase() on a string array - Angularjs 5, TypescriptI’m trying to transform an array with strings inside in lowercase using toLowerCase, but it doesn’t seem to work with an array, but only with a string... How do I fix it? items: Array<{tag:… 
- 
		0 votes1 answer359 viewsQ: Appear list only when Searchbar is filled - Ionic 3Hi, I’m using this Separchbar code and it’s working. But I want the list of items to appear ONLY when you have something written in the Archbar. Basically I DO NOT want a "list of all items" to…