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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP return is same page...

Status
Not open for further replies.

daniloa

Programmer
Joined
Nov 23, 2001
Messages
27
Location
BR
Hi friends...

How are you ???

Well I have a problem that I can't resolve, is the follow:

(I'm a beginner ASP programmer)

I have a Select, like a combobox, ok !!
and for each option in this select I have a description on database, I want this:

when the user change (or click) the option on select, load your description in a textarea that is in the same page side by side with this select.

I just got the descriptions on another page...

Could you help me ???

(P.S. excuse my english it's not good.)

Danilo Almeida
danilo.almeida@gowin.com.br
 
[tt]Simply create another record set pointing to where the descriptions will be pulled from and repeat the region and apply "don not show if empty". There u go
[atom]
[/tt]

"The reward of one duty done is the power to fulfill another"
J R C L [jester] W N


 
Hi there,

This sounds like an iFrame thing. If you have a combo/dropdown list and that is from a db table which looks like:

FieldID FieldName FieldDesc
1 david great guy worked here forever
2 mike not so great guy, left after a week

If you populate a dynamic drop down list with the labels from the FieldName field and the Values from the FieldID field.
Download the iFrame extension from the brilliant Massimo Foti's site here:(this is easier than trying to code an iFrame in Dreamweaver or UD as the iFrame function isn't fully supported). Er.... now restart UD (sorry!). USe the extension to place an iFrame with a suitable name next/below to the dropdown/combo list and in your code have the dynamic list target the inframe like: <a href=&quot;yourpage.html&quot; target=&quot;frame&quot;>

Save your work and see how you get on. This is a rather hastily put together workaround, for more help on iFrames go here:


&quot;There are 3 kinds of people; those that can count and those that can't&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top