導入 http://h2ham.seesaa.net/article/123196931.html 別窓
参考 http://linker.in/journal/2011/04/mt-8.php 別窓
■チェックボックスの場合。
○選択
jQuery(function($) {
$('div#show_fields-field').each(function(){
$(this).find(':checkbox').attr('checked', 'checked');
});
});
○解除
jQuery(function($) {
$('div#show_fields-field').each(function(){
$(this).find(':checkbox').attr("checked",false);
});
});
上記両ブログ様ありがとうございます。感謝です。
jQueryなのでMTでは無くても、いろいろ活用できそうです!
参考 http://linker.in/journal/2011/04/mt-8.php 別窓
■チェックボックスの場合。
○選択
jQuery(function($) {
$('div#show_fields-field').each(function(){
$(this).find(':checkbox').attr('checked', 'checked');
});
});
○解除
jQuery(function($) {
$('div#show_fields-field').each(function(){
$(this).find(':checkbox').attr("checked",false);
});
});
上記両ブログ様ありがとうございます。感謝です。
jQueryなのでMTでは無くても、いろいろ活用できそうです!