Skip to content

Instantly share code, notes, and snippets.

@shoyan
Created March 22, 2013 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shoyan/5219236 to your computer and use it in GitHub Desktop.
Save shoyan/5219236 to your computer and use it in GitHub Desktop.
テキストを保有している親要素のチェックボックスをONにするサンプル
$("td:contains('domain-test20130322122205.com'):eq(3)").parent("tr").find("td:first > input").attr('checked', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment