javascript - why wouldnt this jquery load qork? -


i have example on js fiddle, not loading website wanted, dont see problem :))

http://www.jsfiddle.net/jfdvv/

you can't load content domain other 1 you're on unless it's jsonp (json function wrapper)...you can't load plain html you're trying, it's blocked security reasons same origin policy.


as aside, reason error example_ajax_request inline in page default jsfiddle puts javascript code in wrapper...you need have functions directly in page (global functions, not scoped ready handler), notice first drop down top...it needs "no wrap" (either one), instead of "ondomready".


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -