I have a page that allows a user to edit details about a company or agency. One of the things a user can do is add to a list of services an agency provides. However, the list of services is so extensive that I have made a separate page (as a pop-up) for users to search & navigate to the service they are looking for. But once the user finds the service they want, they should be able to click on a hyperlink to add that service to a table.
I am pretty new to Javascript, so I'm not sure how to proceed. I imagine that either:
1) The agency detail page needs to send the agency id number to the pop-up, keep it persistent while navigating to the service, and create a link that uses that ID to insert a record. OR...
2) have the pop-up hyperlink return the service ID to the agency detail page so the detail page can insert the record.
I am writing the page in ASP and using MS SQL 2000 as the database. If someone could help me with some generic code, I should be able to modify it to work on my site.
Thanks for your help.
I am pretty new to Javascript, so I'm not sure how to proceed. I imagine that either:
1) The agency detail page needs to send the agency id number to the pop-up, keep it persistent while navigating to the service, and create a link that uses that ID to insert a record. OR...
2) have the pop-up hyperlink return the service ID to the agency detail page so the detail page can insert the record.
I am writing the page in ASP and using MS SQL 2000 as the database. If someone could help me with some generic code, I should be able to modify it to work on my site.
Thanks for your help.