2
Hello
You can achive this one easily using javascript as follow :
- function GetRandom() {
- var randomnum = Math.floor((Math.random() * 8) + 1);
- document.Write("Random Number Is :-"+x)
- }
-
-
-
- <button onclick="GetRandom()">Click Me</button>
-
-
I hope it will be useful to you
Thanks