on 06-23-2020 5:27 PM
Hi, im trying to click on a table row using javascript. the rows dont appear to have any events names on them. I want to select a row by injecting javascript into the page so that i can then click to display a report relating to this table row.
I cant seem to trigger the on click event of the row which fires when i manually click on it.
Any help appreciared.
Hi Mateeusz, yes i have looked at many webpages and contacted several people who also cant figure out this issue.
A mouse click seems to fire an event, but not a click() with javascript. Been through various scripts but nothing seems to fire the event as expected.
The table that needs clicked on and row selected is within a frame within a frame within many divs and tables which seem to be common across SAP webpages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ingram84
Did you search the web? Here's a generic example of how to trigger an event in JavaScript.
https://stackoverflow.com/questions/2705583/how-to-simulate-a-click-with-javascript
Or is the issue more complicated? Maybe the issue is to find the proper object on which the event should be triggered?
Kind regards,You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.