Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random words

Status
Not open for further replies.

praveen79

Programmer
Jul 20, 2008
1
US
Hi
i need to write a javascript my scenario is
User tries to register the page.in that page username,password,Secret word and button.
this secrect words should generate randomly and in alphabhetical,here we are getting words from xml file not from
database.
when the user click on button then random words should display.
it should display secret words should display randomly.

i am using asp and javascript


this is xml format i am using:

<item> <SecretCode>1</SecretCode> <SecretDescription>above</SecretDescription> </item>
<item> <SecretCode>2</SecretCode> <SecretDescription>below</SecretDescription> </item>
<item> <SecretCode>3</SecretCode> <SecretDescription>cat</SecretDescription> </item>
<item> <SecretCode>4</SecretCode> <SecretDescription>boat</SecretDescription> </item>
<item> <SecretCode>5</SecretCode> <SecretDescription>rat</SecretDescription> </item>
<item> <SecretCode>6</SecretCode> <SecretDescription>move</SecretDescription> </item>
<item> <SecretCode>7</SecretCode> <SecretDescription>glow</SecretDescription> </item>
<item> <SecretCode>8</SecretCode> <SecretDescription>poet</SecretDescription> </item>
<item> <SecretCode>9</SecretCode> <SecretDescription>now</SecretDescription> </item>
Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top