I need some help with frames. So basically, here's my dilemma ... I have created an index page that is broken down into 2 frames.
- The left frame, basically has a tree of a directory that a user can select files from
- The right frame, is my main content page. It has a text-field. Let's call it "file-path"
What I would like to do is that when the user clicks a specific file on the left frame, I want to grab that information and put it on the right-frame within the text-field.
I hope this makes sense, if not , I can go ahead and post some more information? It's not as simple that I want to open the file into the right-frame, I know I could do this by:
<a href="file.jpg" target="rightFrame">
... But not sure how to specifically target the text-box?
Cheers!
EDIT
I'm now using a form for the element:
echo" ";
However, I want the text to not be a button, I'd rather have it as text itself. Can someone suggest something? I can't do:
- Button
- Text ... it makes a text-field
- Hidden ... I can't see the text-field