Sam Edwards
Member since Aug 22, 2011
- Profile: /members/8816-sam-edwards.htm
- URL: http://samedwards.net
- Comments: 2
Recent Blog Comments By Sam Edwards
-
Script Tags, jQuery, And Html(), Text() And Contents()
Posted on Sep 6, 2011 at 8:15 PM
@Jan I don't believe you can access a feed that isn't in the same domain as the page you're on via jQuery.get(). I ended up using JSONP with yahoo pipes, using document.write("<script ....>") and then as a url parameter I indicate the javascript function to pass the data to once the ... read more »
-
Script Tags, jQuery, And Html(), Text() And Contents()
Posted on Aug 22, 2011 at 3:50 PM
Is it possible to access the json content in the case of a remote src url, as in <script id="data" type="application/x-json" src="<some feed url>">? I can't quite get such a thing to work and was hoping to find a way around xss restrictions...... read more »