「テンプレート:MyCustomWidget」の版間の差分
提供:ヘイグ - 総合ゲームメディア
Wiki admin (トーク | 投稿記録) (ページの作成:「<script type="text/javascript"> $(document).ready(function() { $("#searchInput").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#yourTableID tr").filter(function() { $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) }); }); }); </script>」) |
Wiki admin (トーク | 投稿記録) 編集の要約なし |
||
1行目: | 1行目: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#searchInput").on("keyup", function() { | |||
var value = $(this).val().toLowerCase(); | |||
$("#yourTableID tr").filter(function() { | |||
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) | |||
}); | |||
}); | |||
}); | }); | ||
</script> | </script> |
2024年1月9日 (火) 22:51時点における最新版
<script type="text/javascript"> $(document).ready(function() { $("#searchInput").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#yourTableID tr").filter(function() { $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) }); }); }); </script>