I'm trying to get this example working: Preview an image before it is uploaded
I simplified the code to:
<script type="text/javascript">
    $("#imgInp").change(function () {
        alert('changed');
    });
</script>
</head>
<body>
    <form id="form1" runat="server">
        <input type='file' id="imgInp" />
        <img id="blah" src="#" alt="your image" />
    </form>
</body>
The problem is the change function on imgInp is not getting triggered. I've tried a million things, but can't get it working. What am I missing?
Thanks...
 
     
     
     
    