Hi all,

For some reason, it seems that the .focus() method (at least how I'm
using it) isn't properly setting the focus to what I'm specifying.
Here's the code I'm using.. maybe someone can help me with this.

$(".blNum").bind("blur", function(){
     if (a != b) {
          alert('Thing! Please fix.');
          $(this).focus();
     }
});

where a and b are my two controls, and the alert is an actual error
message. I'm trying to set the focus back to the text box (<input
type="text" class="blNum">) if it doesn't match, and this only works
in IE.

Thanks,
T.J.

Reply via email to