Show Submit After Image Loading

In a file upload form, i want to enable submit button after load the image in form. How it done?

Thanks.

make the button disable

set a js function in the filefield, onload - in function make the button enable

Rajith give the solution.