I simply want to change the current image to the value in the file input box.

Here's what I have

Code:
<form name='form1' method='post' enctype='multipart/form-data'>





<input type='file' name='image' onChange='document.image1.src="document.form1.image.value">

</form>
When I select an Image, the image changes but is not found.
I believe it's because of the backslashes in the path from the file field.

I hardcoded a path to an image with forward slashes rather than backslashes
an it worked fine. But the file field returns backslashes.

Any ideas?

Thanks
lee20