// when the page is ready$(document).ready(function() {	// when the drop down changes	$('#state_list').change(function() {		// if the value of the drop down is not nothing 		if ( $(this).val() != "" ) {			// replace the value of the span with the value of the drop down			$('#state').html($(this).val());		}		//the value of the drop down is nothing		else {			// replace the value of the span with the dummy value '[state]'			$('#state').html('[state]');		}	});	//deactivate submit button	$('input:submit').attr('disabled','disabled');	//activate the submit button if submitter and email are filled in	$('#submitter').keypress(function() {		if ( $('#submitter_email').val() != "" ) {			$('input:submit').removeAttr('disabled');		}	});	$('#submitter_email').keypress(function() {		if ( $('#submitter').val() != "" ) {			$('input:submit').removeAttr('disabled');		}	});});
