Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 27th, 2005, 01:45 PM
Registered User
 
Join Date: Jan 2005
Location: London, , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Newbie - Javascript

Hey all,

Hope someone can help.

Scenario - Have a link where I want to force user to select an option from a drop down menu first. If they do not select a wanring "please select a drop down option" occurs, else they selct a drop down then can click the link

cheers

Reply With Quote
  #2 (permalink)  
Old January 27th, 2005, 01:49 PM
Friend of Wrox
Points: 2,473, Level: 20
Points: 2,473, Level: 20 Points: 2,473, Level: 20 Points: 2,473, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2004
Location: India
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

you can use something like:

<a href="javascript:Check();">Test</a>

and write a javascript function which will check the value in the dropdown menu. If the value is selected then navigate to the link.

Om Prakash
Reply With Quote
Reply


Thread Tools
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
newbie question (javascript passed in xml) mitre7 XSLT 4 December 11th, 2008 10:23 PM
stop current javascript function using javascript sakthi Javascript 3 June 2nd, 2008 03:30 PM
Please Help Newbie aduggan Classic ASP Databases 19 April 3rd, 2007 03:05 PM
Newbie please help indyanguy XSLT 1 September 2nd, 2005 09:18 AM



All times are GMT -4. The time now is 10:46 PM.


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