<a <%#Eval("ringCode").ToString()!=""? string.Format("href=\"/m/ring-{0}.htm\"",Eval("kid")):"<script type=\"text/javascript\">alert('该彩铃在制作中!')</script>" %> target="_blank">设为彩铃</a>
为什么 那个alert()提示无效呢???该怎样实现提示的效果呢??
为什么 那个alert()提示无效呢???该怎样实现提示的效果呢??
<a href='<%#Eval("ringCode").ToString()!=""? string.Format("/m/ring-{0}.htm",Eval("kid")):"javascript:alert(\"该彩铃在制作中!\");" %>' target='<%#Eval("ringCode").ToString()!=""?"_bank":"_self"%>' >设为彩铃</a>