jQuery(function($j){
	var supportsInputAttribute = function (attr) {
		var input = document.createElement('input');
		return attr in input; // 引数で指定された属性がサポートされていれば true を返す
	};
	// placeholder 属性に対応済みのブラウザでは何もしない
	if (!supportsInputAttribute('placeholder')) {
		// placeholder 属性を持つ全ての要素に jQuery.placeHolder() を適用
		$j('[placeholder]').each(function(){
			$j(this).placeHolder({
				text:$j(this).attr('placeholder')
			})
		})
	}

	$j('.side_order_button').click(function(){
		$j(this).parents('form#side_order_form').submit();
	});
});

