By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,843 Members | 2,311 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,843 IT Pros & Developers. It's quick & easy.

Don't know if javascript is the answer,....

P: n/a
Hi,

I don't know if what I'm trying to achieve is possible but after hours
of searching I thought I'd run it by someone.

Scenario:

index.asp has several divs that load pages via includes. One of those
pages, sessions.asp, draws info from an SQL db and displays a link that
when clicked returns the client's info to client.asp(name, address,
city state, zip, phone, etc.).

Question: Is it possible to have the link on sessions.asp return it's
results(client.asp) to a div back on index.asp?

index.asp
<snip>

<div><!--#include file="sessions.asp"--></div>
<div><location for returned info(client.asp)></div>

</snip>

sessions.asp

<snip>

<a href="client.asp?ID=<% =RS.Fields("ID").Value %>" <%
=RS.Fields("ID").Value %></a>

<snip>

Thanks.

Sep 18 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<sl****@capecod.netwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi,

I don't know if what I'm trying to achieve is possible but after hours
of searching I thought I'd run it by someone.

Scenario:

index.asp has several divs that load pages via includes. One of those
pages, sessions.asp, draws info from an SQL db and displays a link that
when clicked returns the client's info to client.asp(name, address,
city state, zip, phone, etc.).

Question: Is it possible to have the link on sessions.asp return it's
results(client.asp) to a div back on index.asp?
You could use an XmlHttp object to retrieve the information, and then
display the content by setting the display div's innerHTML.

Search for Ajax and/or xmlhttp.

Tim

Sep 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.