First I want to apologize if I insulted you. In my code a draw a table and inside one of it’s row I draw an input. Because I draw this table for different purpose I need to connect the onfocusout event to different functions (each time to one function) and I need to be able to activate that function when the input loses focus.