In order to do something like this:
    $("#test").focus("myfunction(this.id);");

You would need to do the following:
    $("#test").focus(function(){
        myfunction(this.id);
    });

Passing in a string to the event handler was undocumented and was
causing some problems, so it needed to be removed. If there's still a
huge demand for it, we may consider bringing it back in 1.1.

--John

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to