var columnName = 'Display Name';
var userName = 'domain\\name';
var searchText = RegExp("FieldName=\"" + columnName + "\"", "gi");
$("td .ms-formbody").each(function() {
if(searchText.test($(this).html())) {
alert(userName);
$(this).find("div[Title='xinix']").html(userName);
}
});
相关文章
- IllegalStateException : Web app root system property already set to different value问题详解
- SharePoint designer workflow给一个hyperlink类型得field赋值, How to set value to a hyperlink field by designer workflow
- dedecms出现Please set 'request_order' ini value to include C,G and P解决方法
- 利用API 建立Dependent Value Set
- Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini
- keras Variable set_value错误解决
- 【ERROR 1366 (HY000): Incorrect string value】(关键词:字符集/character set)
- SharePoint2013 Set Value To PeoplePicker
- ThreadLocal源码分析:(一)set(T value)方法
- A value is trying to be set on a copy of a slice from a DataFrame