jQuery UI Portle $('#portlet-demo').portlet('option', 'add', { position: { x: 0, y: 1 }, portlet: { attrs: { id: 'news' }, title: 'News(亲,我是被动态添加的呦)', afterCreated: function() { alert('动态创建了News。。。'); }, content: {