function updateTips_false(tips) {
    tips.html("<img src=\"images/error_3.gif\">).effect("highlight",{},4500);
   //我想在这个位置打印出tips的名称name,即("per_id"),我该如何实现呢
}
function check_length(tips_name) {
   var tips = $(tips_name);
   updateTips_false(o, tips, n);
}
<td><input  name="per" onblur="check_length(per_id)"/></td>
<td id="per_id"></td>
请高手帮忙

解决方案 »

  1.   

    <script type="text/javascript"> 
    function tip_ccc(tips) { 
        tips.html("你好!"); 
    //我想在这个位置打印出tips的名称name,即("per_id"),我该如何实现呢 
    } function ccc(tips_name) { 
      var tips = $(tips_name); 
      tip_ccc(tips); 

    </script>
    <input  name="per" onblur="ccc(per_id)"/> 
    <div id="per_id"> </div> 请高手帮忙