I have a page Add_data.asp which accepts a number of user-entered variables
and then inserts them into a database. I have another page, Loc_tree.asp
which when accessed, returns a tree of locations which is dynamically
generated by the server. The Loc_tree.asp creates a hyperlink for each
object in the tree. I need to show the Location Tree in a separate window,
and then when a location is clicked, I need to have some javascript code in
the hyperlink which will post a particular value back to the form and insert
it into the appropriate field. The field is a little ways down the form, so
linking to the form from the Loc_tree.asp with some type of GET (i.e.
add_data.asp?LocID=2) is not acceptible. There must be some way of loading
a seperate window (I'm thinking IFRAME), allowing the user to select a value
in it, then inserting the value into the appropriate field and rehiding the
location tree.
Any help would be greatly appreciated.
Jacob