标签:log select context return 获取 ret prot UNC tostring
判断是否是对象
Object.prototype.toString.call(obj)
装换为数组
Array.prototype.slice.call(obj)
父窗体获取值子窗体值
$(function () { $("#icons .filter-icon a").click(function () { var icon = $(this).find(‘i‘).attr(‘class‘); $(‘#icontext‘).val(icon); window.parent.document.all.returnValue = icon; }) })
父窗体获取返回值
function SelectIconed() {
var txt = document.all.returnValue;
$(‘#getIcon‘).val(txt);
$("#dvgIcon").dialog("close");
}
标签:log select context return 获取 ret prot UNC tostring
原文地址:https://www.cnblogs.com/shuaimeng/p/9946718.html