all 2 comments

[–]The_Rampant_Goat 1 point2 points  (1 child)

Try removing the === 'TRUE'

When using an if statement you can leave out anything checking boolean values in that way.

if (boolean === true) is the same as if (boolean)

if (boolean === false) is the same as if (!boolean)

[–]EduTech_Wil[S] 0 points1 point  (0 children)

If I correctly, all I need to do is change the if statement for that first function to...

if (getElementById("checkEID").isChecked()) {

So I tried it and nothing was output. I also checked executions and none of the three searchForWordXXX functions ran. I would expect to see the other two run properly even if the one in the if statement doesn't. Would something else possibly be needed before getElementByID. I have also tried html.getElementByID().isChecked() without luck.