Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2005, 02:45 PM
Registered User
 
Join Date: Jan 2005
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

 
Old January 27th, 2005, 02:49 PM
Friend of Wrox
 
Join Date: May 2004
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question (javascript passed in xml) mitre7 XSLT 4 December 11th, 2008 11: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





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