This simple little script often comes in quite handy when I’m working on a web app. It allow you to add an href attribute to tr, td, or input[type=button] tags to make them clickable links
$(function() {
$("input[type=button][href], tr[href], td[href]").click(function() {
location.href = $(this).attr("href");
});
});
« Dynamically change field attributes in a Django ModelForm Add confirm dialog to a link with jQuery »
