<img src="1.jpg" onmouseover="document.getElementById('word').innerHTML='文字1'" onmouseout="document.getElementById('word').innerHTML='文字2'" />
<span id="word">文字2</span>

解决方案 »

  1.   

    我这边要动的是<A href="#">文字1</a>
    不是单纯的文字 
    谢谢帮忙
      

  2.   

    <img src="http://zi.csdn.net/120.60auto1.22.gif" onmouseover="document.getElementById('message').innerHTML='在上面'" onmouseout="document.getElementById('message').innerHTML='出去了'"/>
    <a id="message" href="#">测试文字</a>
      

  3.   

    <img src="1.jpg" title="图片的文字" 
    onmouseover="document.getElementById('word').innerHTML=this.title" onmouseout="document.getElementById('word').innerHTML=document.getElementById('word').title" />
    <a href="#" id="word" title="原来的文字">原来的文字</a>
      

  4.   

    Click the link to solve your problem.Good luck!