Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features.
Adsense
Accessing a variable outside of a javascript function?
function CrossDomainStorage() {}
CrossDomainStorage.prototype = {
foo: function(callback) {
callback.call(this, 1, 'bar');
}
}
var remoteStorage = new CrossDomainStorage;
remoteStorage.foo(function(key, value) {
alert('inside ' + value);
this.val = value;
});
alert('outside ' + remoteStorage.val);
Subscribe to:
Posts (Atom)