Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member visualAd's Avatar
    Join Date
    Jan 2003
    Location
    Slough, UK
    Posts
    201
    Member #
    434
    Hi every one. This is my first post. Like the user interface by BTW.

    I was a bit miffed to discover that unlike in VB script where you can seed the random number gernerator with the Randomize statement this cannot be done in Javascript.

    I have figured that to generate pseudo-random numbers with a custom seed I would have to create my own function. But the problem is I don't have a clue how to gernerate random numbers. I find it hard to contemplate as a computer works on logic, so asking it to generate somthing random wouldn't work.

    Does anyone here know how?

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I found this, if this helps: http://216.239.37.100/search?q=cache...ng_en&ie=UTF-8

    You may be better off using a more powerful language like PHP unless you need the client-side-ness of JS.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Senior Member visualAd's Avatar
    Join Date
    Jan 2003
    Location
    Slough, UK
    Posts
    201
    Member #
    434
    I want to do it client side if possible as its part of an intereactive form that shows an example of simple ecryption. Thanks for the link I'll check it out.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:34 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com