|Subject:||Posting a value back to a form field without reloading the page|
|Posted by:||Jacob (yak20…@comcast.net)|
|Date:||Mon, 7 Jul 2003|
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,
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
Any help would be greatly appreciated.