Posts by Gabriel GG • 67 points
8 posts
-
-1
votes1
answer236
viewsQ: Declare a two-dimensional array in javascript with no position number specified
As you create a two-dimensional array in javascript where you don’t need to put a specific size, and it keeps growing as I add things.
-
1
votes2
answers382
viewsQ: Run JS function when user choose Select
I have a select in html, and I want it to run a function when the user chooses any option. I appreciate the help. <select id="frmOperadora0" name="frmOperadora"> <option…
-
-1
votes2
answers1918
viewsQ: Input Cpf and phone accept only number
How can I make the input Cpf and phone of my form accept only numbers, using javascript, I tried to put the type="number" but I found it very bad, and depending on the user’s browser does not work,…
-
1
votes3
answers96
viewsQ: Generate HTML using Javascript
I have a small form for phone registration, and I want the user to be able to click the "Add new phone" button and an identical copy of the form is created below, so the user can put as many phones…
-
2
votes2
answers339
viewsQ: Dynamic select with Javascript
I have an option where the user puts his sex, and depending on the sex, the select will switch to the civil status of a man or of a woman, but I don’t know how to first delete the options who are…
-
1
votes1
answer35
viewsQ: Place icon in list using CSS
I made this script in jQuery to put a different icon depending on the extension that ends the href, but wanted to know how I can put the icon using CSS instead of tag <img>, 'Cause it looks…
-
-2
votes2
answers3490
viewsQ: How to make Javascript read a value given by a user?
How do I make Javascript read what the user types? As if it were leia() portugol.
javascriptasked Gabriel GG 67 -
0
votes3
answers77
viewsQ: Help to reduce Javascript code
I’m making a system to leave the first letters of every minute word, but that’s not what matters. I took the first word of my name, and I turned all the letters into minuscules, and then I turned…
javascriptasked Gabriel GG 67