I need help with a Javascript application that uses JQuery

Using javascript/jquery ONLY (not webform or asp.net) I need help creating a page, that dynamically adds 10 textboxes, and fills the textboxes with the letters of the alphabet and make all the vowels readonly.  
when I mouse over the vowels, pop up a balloon \messagebox of some sort and have it show fruit names that start with moused over letter (ie for A, show Apple).

Thanks in advance,
mrotor
mainrotorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve BinkCommented:
What work do you have to show so far?
Pravin AsarPrincipal Systems EngineerCommented:
here is example code to get you started.
 Modify as you please.

<!DOCTYPE html>
<html>
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    </script>
    <style type="text/css">
        div{
            padding:8px;
        }
        input {
            width: 50px;
            height: 50px;
            font-size: 50px;
        };
        img { width: 500px; height: 500px; }
    </style>
</head>

<body>

<h1>jQuery add textbox example</h1>

<script type="text/javascript">
    var counter = 0;
    var values= ["A","B","C","D", "E", "F", "G","H", "I", "J"];
    function ShowToolTip(curIdx) {
        $("#ToolTipImg").attr('src', values[curIdx] + ".png");
        $("#ToolTipImg").attr('alt', values[curIdx] + ".png");
    }
    function CreateTB() {
        if(counter>10){
            alert("Only 10 textboxes allow");
            return false;
        }

        for (ix=0; ix < values.length; ix++)
        {
            counter++;
            var newTextBoxDiv = $(document.createElement('div'))
                    .attr("id", 'TextBoxDiv' + counter);

            newTextBoxDiv.after().html(
                    '<input type="text" readonly name="textbox' + counter +
                    '" id="textbox' + counter + '" value="' + values[ix] + '"' +
                    '" title="Tooltip for ' + values[ix] + '"' +
                    '" onmouseover="ShowToolTip(' + ix + ')">'
            );
            newTextBoxDiv.appendTo("#TextBoxesGroup");
        }
    }

    $(document).ready(function(){
        CreateTB();
    });
</script>
</head><body>

<table>
    <tr>
        <td id='TextBoxesGroup'>
            <div id="TextBoxDiv1">
            </div>
        </td>
        <td rowspan="10">
            <img id="ToolTipImg" src="placerholder.png" alt="Placeholder.png"  title="SHow Image Here">
        </td>
    </tr>
</table>

</body>
</html>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mainrotorAuthor Commented:
Thank you Pravin.

I will try your suggestion.
Pravin AsarPrincipal Systems EngineerCommented:
Here is working example in jsfiddle.
Has a pop-up image for each alphabet

http://jsfiddle.net/pravinasar/xhczb5qv/
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.