thx for the reply pradeep,

I can use 'onchange' but this will not fire validation when the user passes away from the file control (I mean cursor coming into control and then goes out of the control).