Enter text and display on logo

Okay, lets say I have a entry field, to enter the persons name. Then I have a image of a car, and when the person hits submit on the form , the image loads and the name the person entered is displayed on the door or the car.

How would I do this in a browser.could someone give me a Javascript or something to do this please.

You could try this suggestion from faqts.com