嗨需要帮助javascript [英] hi need help javascript
本文介绍了嗨需要帮助javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨我在javascript中需要帮助
i am usgin asp.net
i有链接,这是链接不做重定向。
这是链接
hi i need help in javascript
i am usgin asp.net
i have link which is passiv that link don`t make redirection.
this is the link
<a class="link1" href="java<!-- no -->script:void(0)"> </a>
我不能给他javascript函数像onclick =dosomethink(),
有很多理由我无法给予。
知道我想做的是我怎么能知道想点击链接
链接不要改变网址
他只是来自谷歌服务的calla javascript。
我的英语很抱歉
thnx帮助我:)
and i cant give him javascript function like onclick="dosomethink()" ,
there are alot reason why i cant give.
know what i wanna do is how can i know wanna the link is clicked
the link don`t change the url
he just calla javascript from google service.
my english is bad sorry
thnx for helping me :)
推荐答案
添加:
onClick =callMe();
Hi,
add this:
onClick="callMe();"
示例:
Example:
<a href="java<!-- no -->script:my_function();">....</a>
干杯,
Edo:)
Cheers,
Edo :)
这篇关于嗨需要帮助javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文