开发者

How can I select a range of td's in a table with javascript area selection?

I looking for a script that will enable me to select an area in a table (using the mouse), something similar to this script - http://odyniec.net/projects/imgareaselect/.

What I need to do is to select some td's with an identical area effect as u开发者_如何学运维sed in the imgareaselect above, and manipulate the containing data. Any ideas?

Thank you!


With jQuery UI you should be able to do something like this:

$('table').selectable({
    filter: 'td'
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜