Dynamic Search Input Placeholder

Dynamic Search Input Placeholder

Hello !
I try to set the placeholder of a search input dynamically without success ! 
Please have a look on what I try to do on  Fiddle

Thanks in advance