Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit to self

Status
Not open for further replies.

walderr

Programmer
Jul 18, 2003
32
GB
Is it possible to have a page submit to itself (submit an asp variable) without refreshing it?

I've got a treeview down the left side of a page, which browses down various levels until it hits a list of documents. When the user expands the last level to display the documents, I want to also display more detailed information on the documents shown, in a different part of the screen.

Basically I'm looking for some sort of 'onclick' command for the last branch. Any suggestions?
 
you could use an iframe if this is an ie only solution. When you click the last branch you can change the page being viewed in the iframe. Alternatively you could use a div or span or some element as a dynamic content area eg..

<div id=ContentArea>
</div>

now to change the text displayed within the div you simply write...

ContentArea.innerHTML = &quot;</b>blah blah blah</b>&quot;

hope this gives you some ideas

on error goto hell
 
How many other forums did you post this exact question in?
thread333-641575
 
Well, if you read the other question, it says 'I also posted this in the JS forum'. Now let's see, if we add that one together with this one, that makes a grand total of 2. As it crosses over both areas, I didn't think it was entirely unreasonable. Do you?
 
SashiRaveendran,
Actually IFRAME's are supported by newer versions of Netscape as well.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top