Difference in the code

Difference in the code

Hi

   What is the difference between the below code.

<html>
<head>
<script type = "text/javascript">
$(document).ready(function () {
$("#btnClick").click(function(){
alert("hello");
});
</script>
</head>
<body>
First name:<br>
<input type="text" name="firstname" value="Mickey"><br>
Last name:<br>
<input type="text" name="lastname" value="Mouse"><br><br>
<input type="submit" id ="btnClick" value="Submit">
</body>
</html>

-------------------------------------

$(#btnClick).bind('click'(function(){
    $('#divresult).Html('Button Clicked');
});
Thanks