Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 2nd, 2002, 08:24 AM
dawnh44 dawnh44 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 8 dawnh44 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Is there a way to click on a row in my form and it will show in my combo box?

Hello,

When I first enter my "Media Checkout" form, the first row
information will show in the combo boxes that I created above. I
would like to know if there is a way that my user can click on any
row in the subform, and it will appear in the combo boxes above. Any help would be greatly appreciated.

Thank you.

Dawn

Reply With Quote
  #2  
Old September 21st, 2002, 04:49 PM
neutcomp neutcomp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: The Netherlands
Posts: 24 neutcomp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 50 sec
Reputation Power: 0
Send a message via ICQ to neutcomp
What you can do is!
<head>
<script type="text/javascript">
function getID(waarde)
{
var ID;
ID = waarde.deelnemers.options[waarde.deelnemers.selectedIndex].value;
location.replace('invoeren_deelnemers.php?teamnr=' + ID);
}
</script>
</head>

And make a onchange so if someone select something in your checkbox the page reloads with that selected value!

<select name='articals' onChange='getID(this.form);'>
<option value='0'>empty</option>
<option value='1'>Artical one</option>
<option value='2'>Artical two</option>
</select>

and make in the top of your page something like !
If(value==1)
<!-- View Artical 1 -->
If(value==2)
<!-- View Artical 2 -->

Etc

Good luck
Bjorn

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Is there a way to click on a row in my form and it will show in my combo box?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway