Test Case Boilerplate
Fork this way...
HTML
<form>
<select class="target">
<option value="">Select Station</option>
<option value="West End">West End</option>
<option value="Midtown">Midtown</option>
<option value="Arts Center">Arts Center</option>
<option value="Lindbergh">Lindbergh</option>
</select>
</form>
JavaScript
$(function() {
$(".target").change(function(){
station = '';
station = $('select option:selected').text();
if (station!="Select Station"){
$.ajax({
url: '/echo/html',
dataType: 'jsonp',
data: [
{
"name": "George",
"phone": "1231313",
"address": "123 Main"
},
{
"name": "George",
"phone": "1231313",
"address": "123 Main"
}
]
}).done(function(data){
console.log(data);
});
}
});
});