What i want to do is that when i click on the button "1" it should display the number "1" in the textbox above it.
what is wrong with my jquery code?
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JQuery Tutorial</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
    <input id="textbox" type="text" />
    <div>
        <input id="1" type="button" value="1" />
        <input id="2" type="button" value="2" />
        <input id="3" type="button" value="3" />
    </div>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script>
    <script type="text/javascript" src="js/ext.js"></script>
</body>
My jquery
$('#1').click(function)({
  var txt = $('#textbox');
  $('#1').html('txt');
});
 
     
     
     
     
    