function test() {
var items = {};
this.load_item = function(name, url) {
$.get(url, function(o) { items[name] = o; } );
}
}
var t = new test();
t.load_item('test', 'test.html');
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
