Selecting a form by id in Firefox doesn't work

Selecting a form by id in Firefox doesn't work

I have something like the following form:

<form action="/profile.php" method="post" id="profile_form">
  ... bunch of labels and input elements go here ...
</form>

Then a jquery call (which is supposed to serialize the form for ajax) in a <script> tag at the bottom:

$("#profile_form").submit(function() {
  alert('never get here with firefox 3.6');
});

I get to the alert just fine using Chrome, IE8, Safari and Opera.
Am I doing something wrong?
This is with the latest version of jquery.

Thanks for any help, this has got me stumped...


A.