|
Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Hi,
Is there an efficient way to capture the html tag that was clicked?
Surely we can handle the click and look at the whole document but then how one can identify which element was actually clicked or for which the user hit 'Enter'?
Thank you
|
|
Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Actually what I am really trying to obtain is something like the getXPath of the clicked event.target, I guess I could inject a javascript that does that but I was wondering if there as any more efficient way to do it.
Thank you!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
There is no built in support on this from our side. So you will need to rely on standard technologies such as JavaScript to do that.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Thank you for your response. I understand getting the XPath directly is not available but would you make any recommendation in regards to getting the event.target that originated the click?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
You would need to search online for such issues. :) I am sure you would understand that we are not really in a position to offer support on generic JavaScript programming. We will only support the interop part --- for example, if you have questions/issues about running JavaScript through our controls then we will look into it, but we won't be looking into the JavaScript code itself unless it is specifically EO related (for example, when you use EO's JavaScript extension feature). If there is anything specifically related to EO in your code, then you can explain in details and we will be happy to help you further.
Thanks!
|
|