giscloud.exposeJQuery() example

This is an example of the giscloud.exposeJQuery() method.

This method exposes jQuery internally used by the GIS Cloud JavaScript API.

Click me!
			
// expose a jquery instance
var exposedJQ = giscloud.exposeJQuery();

// use jQuery as you normally would
exposedJQ("div").css({
    "border": "solid thin red",
    "padding": "1em",
    "cursor": "pointer"
}).click(function() {
    exposedJQ(this).hide("slow");
    exposedJQ("pre").show("slow");
});