Nevermind, I changed it to addEventListener instead of onclick after looking at your link. Thanks so much.