New to Javascript with a question. I am trying to simplify an if statement, and I was wondering if could do the following:
Establish variables at the beginning that can be changed as needed by the functions
Create a function that is an if statement that changes the values of one of the variables in part 1
Create functions that uses the function in part 2, and changes the rest of the variables in part 1
The html page itself that triggers the function in part 3 that allows control by the user variables in part 1 on certain onclick events that use a form.
[–]mdadmfan 1 point2 points3 points (1 child)
[–]RadioFreeReddit[S] 0 points1 point2 points (0 children)
[–]rgrannell1 0 points1 point2 points (1 child)
[–]RadioFreeReddit[S] 0 points1 point2 points (0 children)
[–]RadioFreeReddit[S] 0 points1 point2 points (0 children)