js高手进来帮个忙?变量取值问题?
sz80 2005-05-16 05:24:58 string s = e.Item.Cells[0].Text.ToString();
string t = "objOpenerTextBox = window.opener.document.getElementById(\"tbxCustomer\");objOpenerTextBox.value="+s+";window.close()";
e.Item.Attributes.Add("onclick",t);
这个是grid的databound事件,有没有看到上面的S变量,当S是数字是正常,是字母或汉字就取不到S变量的值,为何?