Posts by raellage • 85 points
3 posts
-
3
votes2
answers64
viewsQ: How to return function correctly? (Variable Scope)
I have the following function that performs a request to an API using Angular and I would like the function to return the data, but I am experiencing variable scope problems: var…
-
1
votes1
answer63
viewsQ: Settings . htacess - Dynamic Error Page
I wonder if it is possible to generate a dynamic error page from parameters passed to an html page and get these parameters through a javascript code? Or any other way that you don’t need to create…
-
4
votes4
answers614
viewsQ: Writing effect using javascript, setInterval does not work
I’m trying to use the setInterval function to write 1 letter every second, but it didn’t work: partText = ""; function escrever(text) { for (i = 0; i < text.length; i++) { partText +=…