Posts by Joselito • 113 points
3 posts
-
8
votes2
answers115
viewsQ: How to know which parole is giving true?
For example, I have the following if: if(!condicao1 || !condicao2 || !condicao3){ retorno erro com a condiçao que nao existe } When he gets into that if i wonder which of the parameters is missing…
-
3
votes3
answers414
viewsQ: How to remove specific word from string?
I have an input where the user can enter the site itself, and insert http:// when writing to db, but I would like to treat so that if there is already this tag in the input it does not enter again,…
-
0
votes1
answer51
viewsQ: How to prefix value in input
I used Bootstrap to insert spam written http://right at the beginning of the input. But I would like to know how to leave the input with this value by default, and then the user only fills the site…