If I attach a context menu to a td, it fires okay for text in the TD, but if I add a div to the TD, the context menu will not fire when right clicking on the div. How can I make the context menu fire when anything, data or divs, are right clicked in the td?
Edit: The event was popping, but due to an error in my code, I never saw the event popping. Sorry for not posting code earlier, I didn't check back until someone "answered" the question and I received an email. Thanks for all the effort to answer the qu开发者_如何学Goestion. The "right" answer is that the question was flawed.
Have you tried to set div's width and hight to 100%
s
Due to a bug in my code, the question was invalid
精彩评论