急!!在线等!!asp.net button的OnClientClick="return showIntro", 在head中的script里也定义了function showIntro,为什么执行的时候显示方法未定义?

急!!在线等!!asp.net button的OnClientClick=

问题描述:

图片说明图片说明

图片是网页渲染后的
这是源代码:




<br> function showIntro() {<br> return document.getElementById(&quot;intro&quot;).innerText=&lt;%=introText%&gt;;<br> }</p> <p>

把showIntro放到onclick前面定义