+ 2
Access element id
Would like to ask, if there have 2 files (file A and file B). Is it possible to access element id in file B from file A by JavaScript?...your advice is highly appreciated....
2 Answers
+ 2
It may be possible, but in very specific context: you need to open the second page/file in another window/tab/iframe dynalically through the JS code of the first one, and use the referenced new document to access its DOM content... but this will only work for file hosted on same internet domain (must be 'same origin domain') ^^
+ 1
Thx visph, I will try on this.