I\'m getting some strange happenings on google chrome. With the following code I\'m getting an infinite number of alerts.
<
Because alert is getting the focus from your text box, and on closing the alert dialog,focus gets back. If you do any non focusing mechanism inside your function , it will trigger only once : http://jsfiddle.net/G8CmV/
Test:
$('input[type="text"]').live('focus', function(event) {
$('#tester').html( $('#tester').html() + "_*" );
});