Created
November 7, 2010 15:58
-
-
Save rwaldron/666200 to your computer and use it in GitHub Desktop.
jsfiddle html panel contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#foo { | |
height:100px; | |
width:100px; | |
padding:20px; | |
border:1px solid; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="foo">I can haz foo!</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
$.ajax({ | |
// gist at: https://gist.github.com/666200 | |
url: '/gh/gist/response.json/666200/', | |
type: 'GET', | |
dataType: 'json', | |
success: function (data) { | |
$('#foo').text(data.foo); | |
} | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"foo" : "I can haz json response from githubz?!" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment