Posts by user129564 • 109 points
3 posts
-
1
votes1
answer320
viewsA: How to check if an id exists on the page
Your idea is right, but the implementation is a little strange. document.getElementById('"'+data.dados[i].cd_anuncio+'"') Why are you concatenating double quotes with the id? Quotes are for…
-
1
votes1
answer219
viewsA: How to access methods of an object array?
The compiler will not allow you to access an Account method through an object of type Object, as Object does not contain Account methods. To make the compiler understand that there is an Account…
-
5
votes3
answers193
viewsA: Regex for this format xxxxxxxxxxxx_v2
32 alphanumeric characters are represented by \w{32}, _v2 is represented simply by _v2, and to ensure that the sequence has to start and end with the rules we set (and not just have that sequence in…
regexanswered user129564 109