jquery 要素を取得 いろいろ
指定した要素本体の取得
$('#youso').prop('outerHTML');
自分の親要素の順位
var this_index = jQuery('.oya p').index(jQuery(this).parent());
oyaクラスの中のpが何番目かが取得できる this は同じ親を持つボタンとか
チェックされているラジオボタン、checkBoxの値を取得
jQuery('input[name="shipper"]:checked').val();
セレクトメニューに値をセット
jQuery(this).prop("selectedIndex", 0); //最初のoption指定
セレクトメニューで選択されたoption要素のdata属性を取得
jQuery('select').children('option:selected').data('id');