Repeat data entered in a text box... and maybe change it?
Hi everyone,
I have 3 upload boxes on my website for images (small, medium and large), lets call them box 1, box 2 and box 3. When I press a button next to each, I can find the image that I'd like to upload, and then it puts the path into the text box for me, so that I can change it if I want.
To save A LOT of time (there are loads of images in the folders, so it takes ages to load the window), I would like the path that is in box 1, to be repeated in boxes 2 and 3.
Now here's the more difficult part, that I'm not sure can even be done! The folders that the images are in are named s, m and l. If I choose the image in box 1 (from the folder s), when the path is repeated in the other boxes, is there anyway to automatically change the s, to m and l.
If the second point can't be done then no worries, any help at all with the first would be greatly appreciated.
Many thanks in advance
|