使用jQuery的表中单元格的锚标记 [英] anchor tag for a cell in table using jquery

查看:73
本文介绍了使用jQuery的表中单元格的锚标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过json从db中获取了所需的数据,并且将其显示为表格,现在我希望对每个记录进行标记,以使用相应的图像进行导航.
我尝试了<a class="gsfg" onclick="">d.name</a>
它不起作用帮我忙

i fetched required data from db through json and i displayed it as a table now i want to anchor tag each record for navigating it with respective images.
i tried <a class="gsfg" onclick="">d.name</a>
its not working help me out

推荐答案

好像您错过了定位标记的href属性.如果要将特定的显示值导航到某个位置,则也需要对其进行定义.
It looks like you missed the href property of your anchor tag. If you want to navigate a particular display value to somewhere, you need to define that too.


这篇关于使用jQuery的表中单元格的锚标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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