Posts by Cristian Giordani • 46 points
3 posts
-
0
votes1
answer41
viewsA: BABEL_PARSE_ERROR error using ES6 array
All assigning values to variables in Javascript is done using an equal sign. Whether they are strings, integers... or arrays. Only the same signal was missing in the code in question. constructor()…
-
2
votes2
answers56
viewsA: How do I show a person’s name and not their key in a script that uses onclick()?
Instead of .value utilize .selectedOptions[0]. text This will solve the problem as it looks for the text inside the tag option selected, not its value.
-
0
votes2
answers36
viewsA: Change the content a Span as the same Class in a table - jQuery
find() is searching for the span.text element from the button, you need to scroll down two levels (..td ..tr) to find() locate the span.text. Would look like this:…