{"size": 1083, "ext": "js", "max_stars_repo_path": "public/js/front.request.js", "max_stars_repo_name": "kamekame0712/laravel_od", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/js/front.request.js", "max_issues_repo_name": "kamekame0712/laravel_od", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/js/front.request.js", "max_forks_repo_name": "kamekame0712/laravel_od", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.05, "max_line_length": 54, "alphanum_fraction": 0.5060018467}
jQuery( function($) {

	if( $('[name="trade"]:checked').val() == '1' )
	{
		$('#trade_no').show();
		$('#trade_yes').hide();
	}
	else if( $('[name="trade"]:checked').val() == '2' ) {
		$('#trade_no').hide();
		$('#trade_yes').show();
	}
	else {
		$('#trade_no').hide();
		$('#trade_yes').hide();
	}

	if( $('#chk_agreement').prop('checked') ) {
		$('#btn_enable').show();
		$('#btn_disable').hide();
	}
	else {
		$('#btn_disable').show();
		$('#btn_enable').hide();
	}

});

$('[name="trade"]').change( function() {
	if( $(this).val() == '1' ) {
		$('#trade_no').slideDown();
		$('#trade_yes').slideUp()
	}
	else {
		$('#trade_yes').slideDown()
		$('#trade_no').slideUp();
	}
});

$('#chk_agreement').change( function() {
	if( $(this).prop('checked') ) {
		$('#btn_enable').show();
		$('#btn_disable').hide();
	}
	else {
		$('#btn_disable').show();
		$('#btn_enable').hide();
	}
});

$('#zip').keyup( function() {
	AjaxZip3.zip2addr('zip', '', 'pref_no', 'add');
});

$('#frm_apply').submit( function() {
	if( $('#chk_agreement').prop('checked') == false ) {
		return false;
	}
});

