All Questions
4 questions
4
votes
3
answers
242
views
Get the contents of a table cell for all selected rows
I have a table of user info. When you click the button, I want to get the email address from each selected row, output into a comma-separated string.
I got it to work with the following code, but I'm ...
2
votes
1
answer
143
views
Toggling the background color of a page using JavaScript closures
This question is to see if I can get some input on the "design pattern" I tried to implement here. I'm just learning about closure in JavaScript and I think I'm starting to get it. I'm wondering if ...
1
vote
1
answer
269
views
JavaScript debounce function
I built one JavaScript debounce function. I need a JavaScript expert's opinion if this is the correct way to do it, and if not, then what the flaw is in this current function.
...
8
votes
2
answers
191
views
Functional way to have two toggles that turn each other off
I have two sets of toggles that need to "uncheck" each other. This is my current solution which is working. Can it somehow get more functional/elegant?
...