Can only run function once?

Try to add multiple users. You can’t. Well, after you select “red”, the function stops working…it looks for whatever option is selected. How can I work this? I remove an element after each selection (so I’ll be down to 0).

Fixed lol. Long story short, I was checking to see if the DOM element was checked in my if statement, but I’d remove it after use. So the IF statemenet would fail if it got to an element I removed (since obviously it’s null). I just first made sure it existed and it fixed itself.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.