2013-07-24 74 views

回答

0

我找到了解决办法,如果有人有兴趣

var ctx = SP.ClientContext.get_current(); 
var web = ctx.get_web(); 
var list = web.get_lists().getByTitle('Your List Name'); 
var field = list.get_fields().getByInternalNameOrTitle('Title'); 
field.set_title('new title'); 
field.update(); 
ctx.executeQueryAsync(function() { alert('success'); }); 
相关问题