Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 June 24th, 2009, 03:07 AM
Registered User
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Autosuggest by Nikolas Zakas - Adding scrollbar to div

I'm trying to use the Autosuggest implementation shown in (http://www.webreference.com/programm.../example2.html). I am dynamically populating the autosuggestion data from a database column. This part works perfectly fine.

I have large data to show up in suggestions. I added a scrollbar to the DIV (by using overflow:auto). However when I click on the scrollbar, the suggestion list disappears. The click on the Scrollbar is taken as a onBlur event and hence suggestion list gets hidden, scrolling doesn't work.

Please suggest me a workaround for this problem.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create ScrollBar for HTML DIV Adawi VB How-To 3 March 26th, 2008 10:05 AM
Nicholas Zakas JavaScript Maintainability video jminatel BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 May 25th, 2007 11:48 AM
Nicholas Zakas JavaScript Maintainability video jminatel BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 May 25th, 2007 11:47 AM
div within a div and inherting the height brettdavis4 CSS Cascading Style Sheets 1 January 23rd, 2007 09:59 AM
Autosuggest Textbox by Nicholas Zakas smay Javascript 5 January 13th, 2006 07:45 AM





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