jQuery select elments outside of current window: 2018-04-14 02:47:17 |
(deleted)
Level 63
Report
|
I want to be able to select all the tables on an external page (call that _window) using the jQuery function that's been defined in the current window. I have tried $(_window.document).select('table') but that always returns _window HTMLDocument - would expect it to return all the tables in the _window context. Any idea how I can do this? I have defined _window before triggering the function using window.open.
Edit: both windows have the same host.
Edited 4/14/2018 03:07:57
|
jQuery select elments outside of current window: 2018-04-14 10:51:58 |
(deleted)
Level 63
Report
|
Thanks :). .select is kind of a missleading name.
|