Pages

Subscribe:

Ads 468x60px

Labels

Tuesday, July 31, 2012

ctrl clk is selecting parent elements also in jquery

Have a different question to ask? Start New Discussion Reply to this Discussion 1 Hour Ago 0

Hi,

I have multiple divs inside a div. I am using jquery event.ctrlKey to select inner divs on ctrl click. It is working, but there is one problem. When I click on inner div elements, it selects parent div also(it gives blue border showing as selected for parent div). When I hover over the parent div after selection, blue border is gone.

I dont want that blue border selection for parent div. Any suggestions how to remove that? What is the reason it is getting selected?

Thanks,
VC

VenusCrystal Newbie Poster 24 posts since Aug 2010 Reputation Points: 10 Solved Threads: 0   38 Minutes Ago 0

My parent div is inside a td again...

VenusCrystal Newbie Poster 24 posts since Aug 2010 Reputation Points: 10 Solved Threads: 0   Related Article: onmouseover on parent element Hi, This is probably a very simple problem, but still it is bugging me for a while. I have tried to google for solutions, but I did not find any. I have a div containing a few text elements like date and description. I want to change the background-color of ... Post:Markdown Syntax: Formatting Help Bold Italic Code Inline Code Link Quote Heading Sub-Heading # List • List Undo Redo Insert Code Snippet (Alt

No comments:

Post a Comment