Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kindle Personal Documentの一覧に一発削除用の「×」マークを付ける
jQuery(function($) {
jQuery('#orders-div').bind('DOMNodeInserted', function(event){
var t = jQuery(event.target);
if (t.hasClass('rowHeaderCollapsed')) {
var e = t.find('span.headerStatus');
e.append(jQuery('<a>').attr('href', e.attr('id').replace(/^Row.*_/,'javascript:Fion.deleteItem("deleteItem_') + '");return false;').text('×'));
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.