How to enter into a textbox after update dropdown

Totally new to this!
Trying to fill an extra 2 textboxes with additional information after I have selected from a dropdown box.
The dropdown box comes from a .xml file
Sample Attached

<?xml version="1.0" encoding="UTF-8"?> LNAME1, FNAME1-4W 11-222-333 600 LNAME2, FNAME2-4W 22-333-444 600

My Coding so far

Using jQuery and XML to populate a drop-down box demo
    <script>
        $(document).ready(function(){
        $.ajax({
            type: "GET",
            url: "Test.xml",
            dataType: "xml",
            success: function(xml) {
                var select = $('#mySelect');

                $(xml).find('tbl_PDC_InstrWEB_Export2').each(function(){
                    $(this).find('Name').each(function(){

                        //$('Name', xml).each(function(){
                            var value1 = $(this).text();

                            select.append("<option class='ddindent' value='"+ value1 +"'>"+value1+"</option>");

                        });
                    });
                    select.children(":first").text("Select PDC Student").attr("selected",true);
                    
                } //sucess close
            }); 
        }); 
    </script>
</head>
<body>
    <h2>PDC Student Listing</h2>
    <img src="My_Logo.jpg" alt="Logo Here" width="80" height="80"/>
	<input name="Text1" type="text" />
    <div id="page-wrap">
    <select id="mySelect">
        <option>loading</option>
    </select>
    </div>
</body>

Just cannot get the 2 textboxes working

Can someone assist?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.