Answered
JS help (random tip)
I'm trying to generate a random tip when I click the 'Show Next Tip' below...
but can't get it to work:(
I'm launching the JavaScript from the button.
From the code and variables, do you see anything wrong?

I'm trying to generate a random tip when I click the 'Show Next Tip' below...
but can't get it to work:(
I'm launching the JavaScript from the button.
From the code and variables, do you see anything wrong?

He marked it correct in another thread Lieve. He was using the script tags and never calling the function as it was meant to be external.
Both my revised code and your anonymous function seem to work well.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.