VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Dislpay random text each time the page refreshed....

by Kaunal Gandhi (1 Submission)
Category: Internet/HTML
Compatability: VB Script
Difficulty: Unknown Difficulty
Originally Published: Thu 1st December 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Dislpay random text each time the page refreshed....

Rate Dislpay random text each time the page refreshed....



<%
randomize()
r=rnd()
if r<0.25 then
response.write("Kaunal")
elseif r>0.25 and r<0.5 then
response.write("Gandhi")
else
response.write("Kaunal Gandhi")
end if
%>
</html>

Download this snippet    Add to My Saved Code

Dislpay random text each time the page refreshed.... Comments

No comments have been posted about Dislpay random text each time the page refreshed..... Why not be the first to post a comment about Dislpay random text each time the page refreshed.....

Post your comment

Subject:
Message:
0/1000 characters