Greetings dear experts:
I have a task to copy the contents of one textbox into another textbox.
The following works by adding to value of textbox1 one to textbox2.
<html>
<head>
    <script src="jquery_min.js">
    </script>
    <script>
        $(document).ready(function () {
            $("#button").click(function () {
                var ravi = $("#text2").val();
                $("#text1").val(Testing);
            });
        });
    </script>
</head>
<body>
    <input type="text" value="Testing" id="text">
    <input type="text" id="text1">
    <input type="button" value="Copy" id="button">
</body>
</html>
As you can see from the code above, this works if I manually enter the value of textbox1 which is Testing inside the Javascript.
Is it possible to do this without manually putting the value of textbox1 in the javascript first?