if trim(str)<>"" then
if len(str)<>0 then

解决方案 »

  1.   

    在JS中用 
    if (str==""){...}   或 if (str==null)在VBS中用
    if str="" then      或 if str=null then 
      

  2.   

    20分解决这样的问题?<STYLE type=text/css>
    .tableData {
    BACKGROUND: white; BORDER-BOTTOM: white 1px dashed; BORDER-LEFT: white 1px dashed; BORDER-RIGHT: white 1px dashed; BORDER-TOP: white 1px dashed; COLOR: black; CURSOR: hand; FONT-FAMILY: verdana,arial,helvetica; FONT-SIZE: 12px
    }
    .tableDataHit {
    BACKGROUND: #d0e0ff; BORDER-BOTTOM: #d0e0ff 1px dashed; BORDER-LEFT: #d0e0ff 1px dashed; BORDER-RIGHT: #d0e0ff 1px dashed; BORDER-TOP: #d0e0ff 1px dashed; COLOR: green; CURSOR: hand; FONT-FAMILY: verdana,arial,helvetica; FONT-SIZE: 20px
    }
    </style>
    <script>
    function lightOn(obj){
       obj.className="tableDataHit";
    }
    </script>
      <a href="a.jsp" class=tableData  onmouseout="this.className='tableData'" onmouseover="this.className='tableDataHit'"> sdfsdf</a>
       <a href="b.jsp"  class=tableData  onmouseout="this.className='tableData'" onmouseover="this.className='tableDataHit'" > sdfsdf</a>