Add type=file

Add type=file

I'm rookie in jquery and and learning fast but this time I'm having trouble to figure out myself how that works.
I have three columns and each column have images that retrieve from mysql which is works great.
 
 
My next step problem I have, is that if any of tables image columns is empty in database or no file name in database, how can I show "type file" (upload) in table area using jquery if is empty in database ?

please help thanks.

Alidad