javascript generate random string from array

 

 

 

 

Haskell HTML HTTP Ini iOS Jade Java Javascript jQuery JSON Julia Keyman LaTeX Linux Less LOLCODE Makefile MarkdownI am trying to generate a string of 8 characters, which are randomly chosen from an array.and a random string of numbers that can also repeat like this: 887562327. The function which generates the random string can be called from any event handler - the example below uses a button. Step 1.