English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how can i refer to an element of another page??

here's an example of what I want to do...

on my website I want to print...
[Yahoo Home Page].getElementById('sethomepage').innerhtml

2007-03-15 10:32:11 · 1 answers · asked by aditya_tx 2 in Computers & Internet Programming & Design

1 answers

No, you can not. Cross-site scripting in Javascript is a major security risk and browsers have done all they can do prevent it. If you're interested in using content cross-site, with Javascript, I recommend you look at XML or JSON data interchange APIs (Yahoo has many).

2007-03-15 17:18:45 · answer #1 · answered by Marc E 2 · 0 0

fedest.com, questions and answers