Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 10th, 2004, 09:13 PM
Registered User
Join Date: Jun 2004
Location: New Westminster, BC, Canada.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pbhupal Send a message via Yahoo to pbhupal
Default Drop down box and book marks


In a static html page I have a drop down box with few choices. When a user chooses a choice in the drop down box the control should navigate to a book mark that is defined below on the same page. Can someone please help how to setup book marks on choices in the drop down box? Thanks for all your help in advance.


Reply With Quote
  #2 (permalink)  
Old September 10th, 2004, 09:23 PM
Friend of Wrox
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

<select onchange='window.location="#"+this.options[this.selectedIndex].value'>
<option value='some_bookmark'>goto some_bookmark</option>
<option value='some_other_bookmark'>goto some_other_bookmark</option>

Is this what you want?

-Snib <><
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dyamic Drop Down Box edwarjw Beginning PHP 1 August 16th, 2007 11:39 PM
Drop down Box NomAnor Classic ASP Basics 2 March 29th, 2004 12:21 PM
Drop down box format julitin Classic ASP Basics 1 November 6th, 2003 12:02 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM

All times are GMT -4. The time now is 04:54 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.