This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
carData = { | |
1962 : { | |
Alfa Romeo : { | |
2000 : { | |
Sedan : { | |
numDoors : ”4”, | |
numDoors : "2" | |
}, | |
Wagon:{ | |
numDoors:"2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"shcCarListing" = { | |
"1962" : { | |
"Alfa Romeo" : { | |
"2000" : { | |
"bodyStyle" : undefined, | |
"numDoors" : undefined | |
}, | |
"2600" : { | |
"bodyStyle" : undefined, | |
"numDoors" : undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select id="wfVehEnterYear"> | |
<option value="none">Year</option> | |
<option value="1962">1962</option> | |
<option value="2012">2012</option> | |
</select> | |
<select id="wfVehEnterMake" style="display: inline;"> | |
<option value="0">Choose a Make</option> | |
<option value="Abarth">Abarth</option> | |
<option value="AC">AC</option> | |
<option value="Alfa Romeo">Alfa Romeo</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var years = []; | |
//use for dropdown | |
var epicorData = $.ajax({ | |
url: "js/Sears_MkMdlBodyDoor_20120515.json", | |
dataType: "json", | |
success: function (incomingYears){ | |
years = incomingYears; | |
selects = [ | |
$("select#wfVehEnterMake"), // selects[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************/ | |
/* Geckobyte API Object */ | |
/************************/ | |
//storing values of each dropdown in variables | |
var wfYear = $('#wfVehEnterYear').val(), | |
wfMake = $('#wfVehEnterMake').val(), | |
wfModel = $('#wfVehEnterModel').val(), | |
wfBody = $('#wfVehEnterTrim').val(), | |
wfNumDoors = $('#wfVehEnterDoors').val(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wfYear = $('#wfVehEnterYear').val(), | |
wfMake = $('#wfVehEnterMake').val(), | |
wfModel = $('#wfVehEnterModel').val(), | |
wfBody = $('#wfVehEnterTrim').val(), | |
wfNumDoors = $('#wfVehEnterDoors').val(), | |
fgColors = $('#wfVehColor'), | |
geckoUrl = encodeURI('http://sears.carpronetwork.com/tools.asmx/getVehicle'); | |
var fgVehicleCall = $.ajax({ | |
url: geckoUrl, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var years = []; | |
//use for dropdown | |
var epicorData = $.ajax({ | |
url: "js/Sears_MkMdlBodyDoor_20120515.json", | |
dataType: "json", | |
success: function (incomingYears){ | |
years = incomingYears; | |
selects = [ | |
$("select#wfVehEnterMake"), // selects[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery170035622003488242626_1338676223302({ | |
"d":{ | |
"__type":"Vehicle", | |
"YearID":"2003", | |
"MakeName":"Volkswagen", | |
"ModelName":"Jetta", | |
"BodyTypeName":"Sedan", | |
"BodyNumDoors":"4", | |
"Options":null, | |
"FrontX":373, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1962: { | |
"BMW" : { | |
"1500" : { | |
"bodyStyle" : "undefined", | |
"numDoors" : "undefined" | |
}, | |
"2600" : { | |
"bodyStyle" : "undefined", | |
"numDoors" : "undefined" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"BMW" : { | |
"128i" : [ | |
{ | |
"bodyStyle" : "Convertible", | |
"numDoors" : "2" | |
}, | |
{ | |
"bodyStyle" : "Coupe", | |
"numDoors" : "2" | |
} |