IT Community - Software Programming, Web Development and Technical Support

double clicking the option in drop down list menu

This is a discussion on double clicking the option in drop down list menu within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; Hi pals, Is it possible to call a java script function while double clicking the options in drop down list ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-06-2007, 06:09 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default double clicking the option in drop down list menu

Hi pals,
Is it possible to call a java script function while double clicking the options in drop down list menu.
If any knows plz convey the details.

Thanks in advance...
__________________

J.Vijayanand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-06-2007, 06:28 AM
vivekanandan vivekanandan is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 41
vivekanandan is on a distinguished road
Default Re: double clicking the option in drop down list menu

Hi,
please use double click event as
<option ondblclick="alert('2click');" > double click</option>

Note: it works fine i Firefox, but some IE wont accept it.




regards,
vivekanandan
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-06-2007, 07:16 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: double clicking the option in drop down list menu

Hi vivekanand,
Thanks for ur reply. But can anybody suggest me how to use the code in the internet explorer browser rather than firefox.
__________________

J.Vijayanand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-06-2007, 07:27 AM
vivekanandan vivekanandan is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 41
vivekanandan is on a distinguished road
Default Re: double clicking the option in drop down list menu

Hi vijayanand,
please make use the double click event in the select , which applies for all browsers.

<SELECT NAME="sel_list" ondblclick="alert('doubleclick');" >
Note: please don't see Dreamweaver editer it wont show this event .

Regards,
vivekanandan
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
When using a drop down menu, how do I store the value selected in a variable? GDevakii C# Programming 1 03-22-2008 02:01 AM
Show the next seven days in a drop down list. itbarota HTML, CSS and Javascript Coding Techniques 1 03-18-2008 09:15 PM
How can I change the contents of a drop down select list? itbarota HTML, CSS and Javascript Coding Techniques 1 10-29-2007 08:14 AM
Why do the menu items drop behind some HTML elements.? Pvinothkumar HTML, CSS and Javascript Coding Techniques 1 09-13-2007 06:03 AM
RightClick option for menu in Flash bluesky Flash Actionscript Programming 2 08-14-2007 12:16 AM


All times are GMT -7. The time now is 11:28 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0