在form表单前面加上
< script src = " /_layouts/jquery-1.4.1.js " type = " text/javascript " >< / script> < script type = " text/javascript " > function changePdfTarget() { if ($( " a[href$='.pdf'] " ) != null ) { $( " a[href$='.pdf'] " ).removeAttr( " onclick " ).attr( " target " , " _blank " ); } } _spBodyOnLoadFunctionNames.push( " changePdfTarget " ); < / script>