Is element text 'on a button'?

Posted by alexeyndru on Stack Overflow See other posts from Stack Overflow or by alexeyndru
Published on 2010-04-01T08:48:36Z Indexed on 2010/04/01 8:53 UTC
Read the original article Hit count: 254

Filed under:

I would like to check if some text node is 'in a button'. As for checcking if the text is 'part of a link' we use isInAnchor, what would be needed for the button issue? Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript