关于使用jQuery设置easyui框架window的属性的值

jquery使用自带的attr属性设置window的属性值不起作用如下

$('#win').attr("title",custrom);

使用window来设置title会使模态框的显示出现问题,如下

$('#win').window({
	title:custrom
});

正确的使用是用easyui的panel来设置

$("#win").panel({
		title:customname
	});

猜你喜欢

转载自blog.csdn.net/qq_37225699/article/details/84283731