Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Thanked 0 Times in 0 Posts

    Question Javascript function, please help me

    I have one array with characters such as:
    var array1 = {A,B,C,D,E,F }.
    How to make a javascript function that takes us to every letter that is in the array list, two big letters and two small letters, that means a total of 4 letters.
    In pageload Event It should appear 4 letters in one html table from function.
    If a letter is "A" then we should hear a voice that says this is "A" letter.
    For each page is refresh, the function must invert letters in the html table.
    Thnx a lot

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    London, England
    Thanked 2,573 Times in 2,551 Posts
    Sorry, totally unclear!

    Do you want to generate something like AcDe: In what order? ADce? ceAD? Or what?

    "If a letter is "A" then we should hear a voice that says this is "A" letter." What is that supposed to mean?

    The banks have made people green with anger over the last few years. - BBC Radio 4

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts