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'
});
精彩评论