javascript image uploading and text replacement
<p>Weird to describe but here goes.</p>

<p>I have a table with several rows. One of the fields in each row, is for an image. Now i dont want to show the image itself, but rather the filename of the image as a link.</p>

<p>When i click that link, i want to popup a window that will let me upload or choose a new image from a list.</p>

<p>The key is, when im done, i want the new filename to show up on the table a-la inline edit style.</p>

<p>Now i know how to display the filename as a link, i know how to popup a window, i know how to upload images, or display some to select from. What i dont know how to do, is once i select or upload an image, to then go back and change that text.</p>

<p>Say the fieldname containing the filename text is #picfield1.(will be unique per field)<br />
What would be the best way of building this. Should i use a layer on page like a modal, or should i use a seperate window?</p>
