Skip to content

Instantly share code, notes, and snippets.

@turibbio
Created April 4, 2015 12:00
Show Gist options
  • Save turibbio/286b831925b1e91aba0c to your computer and use it in GitHub Desktop.
Save turibbio/286b831925b1e91aba0c to your computer and use it in GitHub Desktop.
Ajax CDN
<script type=”text/javascript”>
function pageLoad(){
var myPic = [
{url: ‘pic/lellone1.jpg’, description: “lellone”},
{url: ‘pic/lellone2.jpg’, description: “lellone”}
];
$create(
Sys.UI.DataView,
{data:myPic},
null,
null,
$get(‘photos’)
);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment