onmouseover="showcont()"then use a div to show the data:
objdiv.innerHTML=obj.value;

解决方案 »

  1.   

    肯定是用onmouseover事件.
    请参考下面例程
    <DIV>
    <P>Move the mouse pointer into the text area to fire the 
       onmouseover event. Move it out to clear the text.
    <TEXTAREA NAME=txtMouseTrack 
       onmouseover="this.value='onmouseover fired'" 
       onmouseout="this.value=''">
    </TEXTAREA>
    </DIV>
    还有多种实现方式,如:
    var str1="...";
    用onmouseover事件,在js中,
    str1=str1+"...";从而显示全部内容.