<script src="http://localhost/_layouts/jquery.js"
type="text/javascript"></script>
<script
type="text/javascript">
$(document).ready(function () {
$(".ms-listviewtable td div").click(function () {//获取节点的路径.ms-listviewtable td div点击事件click
mm = $(this).attr("title");//$(this).attr意思是获取到本身的值
if
($("#Text1").val() == "")//$("#Text1").val()意思是input属性id="Text1"的val的值
{
$("#Text1").val(mm) }
else
{
$("#Text1").val($("#Text1").val() + "," + mm)
}//$("#Text1").val()本身+,+mm的值
});
});
</script>