I was looking for .keyup() not .change(), sorry.

Please ignore.

On Dec 16, 3:37 pm, Brett Alton <brett.jr.al...@gmail.com> wrote:
> <html>
>         <head>
>                 <script type="text/javascript" 
> src="http://ajax.googleapis.com/ajax/
> libs/jquery/1.3.2/jquery.min.js" charset="utf-8"></script>
>         </head>
>         <body>
>                 <script type="text/javascript">
>                         alert('outside');
>                         $('input').change(function() {
>                                 alert('inside');
>                         });
>                 </script>
>                 <p><input type="text" id="dig" /></p>
>         </body>
> </html>
>
> Why does the alert with 'inside' never appear?
>
> I tried wrapping it in "$(document).ready(function(){" and it made no
> difference. No errors in Firefox or Chromium too.

Reply via email to