Posts by Paulo Roberto Rosa • 8,979 points
159 posts
-
0
votes5
answers16498
viewsA: How can we not apply opacity to a child element?
Well, it’s not possible to do it the way you want, but a suggestion is to remove the div.pai and only use the div.filho and put an edge on it, which would result in the same thing, but its "central"…
-
18
votes7
answers44529
viewsQ: How to get only the numbers of a string in Javascript?
I wonder if there are functions that return only the numeric values of a string, if there is not, what is the simplest and efficient way to implement? Example: apenasNumeros("5tr1ng"); Upshot: 51…
-
1
votes4
answers359
viewsA: Difficulty storing object property in Javascript
Look, I managed to make it work see this example on Jsfiddle But I had to change your code, you may not accept my solution, however, it is functional, what I did was: In this part of creation: //…
javascriptanswered Paulo Roberto Rosa 8,979 -
2
votes3
answers1261
viewsA: What does "android.R.id.content" mean?
Explanation: The android.R.id.content It is a constant that has the value of an Integer number, which is the address referenced to such content, which is declared in R.java which is a file that is…
androidanswered Paulo Roberto Rosa 8,979 -
27
votes4
answers141141
viewsQ: How to redirect the user to another Javascript/jQuery page?
I would like to know what methods of redirecting exist in Javascript, and also using jQuery, and if possible, I would like to know all of them.
-
6
votes7
answers16282
viewsA: Understanding the JSON file
A great link to JSON syntax interpretation is this: http://json.parser.online.fr/ any JSON, which this site interprets OK without errors, you can use in your code, but about your JSON: [ { titulo:…
-
8
votes4
answers13140
viewsQ: What is the difference between operators '==' and '==' in Javascript?
I would like to know the difference between the two operators who would be: (1): == (2): === If possible, I would also like to understand in this case the use of the opposite operators of them: (3):…
-
9
votes6
answers9431
viewsA: When should var be used in Javascript?
Javascript is a broad language because you can do almost all the things you want on a web page, just by creating functions and finding ways to do. I can say that Javascript is not a safe language,…
javascriptanswered Paulo Roberto Rosa 8,979 -
17
votes3
answers72494
viewsQ: How can I check if one string contains another in Javascript?
I would like to check if one string contains another, as if it were a method String.contains() but apparently there is no method to do this. Does anyone know a similar method that does the same…