Skip to content

Instantly share code, notes, and snippets.

// prototype
new Ajax.Request("/your/mom", onSuccess: function(response) { $("lightbox_content").innerHTML = response.responseJSON.contents })
// jquery
$.getJSON("/your/mom", function(json) { $("#lightbox_content").html(json.contents) })
// XUI
x$(window).xhrjson( "/your/mom", {map:{'contents':'#lightbox_content'} });
@silentrob
silentrob / .block
Created November 10, 2016 05:05 — forked from nbremer/.block
Radar Chart Redesign
height: 600