Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1548037.q8OKcOxoW2@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Tue, 26 Jun 2012 23:20:37 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <194iu7p9b6t4ef3aupclci13u012frunpg@4ax.com> <326ku7dmhf5i0hosp63996crif8apmlm9f@4ax.com> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 29 NNTP-Posting-Date: 26 Jun 2012 23:20:38 CEST NNTP-Posting-Host: 26de4a70.newsspool4.arcor-online.net X-Trace: DXC=3n>2[DBXUl^[7Non7UCi8U4IUK On 2012-06-26 22:30, Gene Wirchenko wrote: >> > src="http://test.deitel.com/examples/iw3htp4/ajax/thumbs/cpphtp6.jpg" >> onmouseover='GetContent("http://www.ucantrade.com/"); //***** > > Looks like Mike is right, and you're running into a SOP-problem. If > you're not loading the page from www.ucantrade.com, you can't send an > XHR to that server: > https://en.wikipedia.org/wiki/Same_origin_policy This article is lacking several references (and is marked so), and is outdated at best. Unfortunately, it is generally a good idea to avoid Wikipedia articles on the topic of this newsgroup, or take them with a *handful* of salt. For more up-to-date information, see e. g.: PointedEars -- Prototype.js was written by people who don't know javascript for people who don't know javascript. People who don't know javascript are not the best source of advice on designing systems that use javascript. -- Richard Cornford, cljs,