如何使用jquery单击linkbutton。 [英] How to click linkbutton using jquery.

查看:154
本文介绍了如何使用jquery单击linkbutton。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个链接按钮。多个span和div类以上。

i简称代码。



我尝试了什么: < br $>


i have one link button in span . and above multiple span and div class.
i describe code in short.

What I have tried:

<div class="fstdiv">
<div>
<span></span>
</div>
<div>
<span></span>
</div>

<div>
<span><asp:linkbutton runut="server" Eval("Name")></span>   //list of name 
</div>
</div>


$('.fstdiv').click(function()
{
//click this linkbutton.how can i do this click.
});

推荐答案

('。fstdiv')。click(function()
{
/ /点击此链接按钮。我可以点击这个。
});
('.fstdiv').click(function() { //click this linkbutton.how can i do this click. });


使用


('.fstdiv a')
('.fstdiv a')



LinkBut​​ton 将呈现为浏览器中的标签


LinkButton will be rendered as anchor tag in the browser


这篇关于如何使用jquery单击linkbutton。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆