Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call a Class's event from a separate button?

Status
Not open for further replies.

jsteph

Technical User
Oct 24, 2002
2,562
US
Hi all,
I've implemented a dropdown similar to the google-suggest, using code found on one of the javascript forums. It works fine, but I want to add one button to force the suggest dropdown to drop down on the click of this button.

I know the functions that handle the suggest functionality are private-scoped and what I'm looking for is a way to expose one of them so my external button can call the particular function that forces the dropdown to show. I know I can do this from within the actual dropdown--and I currently do this--but I just want to know if it's possible to also do it from an external button that is physically a different control than the auto-suggest control.
Thanks
--Jim
 
It will always be possible to do this - even if it means a re-write.

However, without any knowledge whatsoever about your code, no help can be given.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top