I would like to create a function that loads a random page from a particular address. Something like www.meusite.com/(numeros entre 0-100).html
I think the function should create the tag A
, then fill it with the text www.meusite.com/ + random number + .html
; and in the end be enabled by onload
within tag body
.
Can you do something like this using JS? I think so, but I do not even know where to start.
Thank you in advance for any help.