I have an MVC view with the following jquery.
<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        $('#myinput).change(function () {
            alert('Changed');
        });
    });
</script>
When I change the text in the 'myinput' box, I want the alert 'Changed' to be displayed. This works fine... On the second change. The first time the text is changed, nothing happens.
What am I doing wrong?