I am very new to javascript, only a couple of tutorials from w3schools but wanted to create a from like this:

1) Type in your name into a form and click submit
2) An image of "http://www.testing.com/blabla/[name]/test.jpg" apears below it.

I was told javascript was the best way to achieve this but how?