I'm having a problem with a simple form where i'm attempting to fire an ajax request when someone types something. After debugging I'm left with an alert when the event is fired but it shows up twice, irrespective of the browser. (Ignore the 'rel' attribute in the input tags, that's for something else, unless you think its the rel attribute causing the issue).
<form class="formBig" name="formRegister" id="formRegister" method="post" action="">
<label class="label" id="locationLabel" for="location">Location</label>
<input class="input" name="location" id="location" type="text" rel="locationLabel" value="" />
</form>
<script type="text/javascript">
$("#location").click(function() {
alert($(this).attr('id'));
});
</script>