Skip to content

Instantly share code, notes, and snippets.

@judsonmitchell
Created March 20, 2015 11:55
Show Gist options
  • Select an option

  • Save judsonmitchell/be07461ee453159a61b1 to your computer and use it in GitHub Desktop.

Select an option

Save judsonmitchell/be07461ee453159a61b1 to your computer and use it in GitHub Desktop.
Template // source http://jsbin.com/qenepu
<!DOCTYPE html>
<html>
<head>
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<title>Template</title>
</head>
<body>
<script id="jsbin-javascript">
/*
How the data model might look based on
http://www.orleanscivilclerk.com/forms/civil_fees.pdf
and http://www.jpclerkofcourt.us/fees/
*/
var costData = {
orleans: {
"petition" : "503.50",
"petition-for-garnishment" : "282.50" //, etc...
},
jefferson: {
"petition" : "400.00",
"petition-for-garnishment" : "600.00" //, etc...
}
};
console.log(costData.orleans['petition-for-garnishment']);
</script>
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<script src="//code.jquery.com/jquery.min.js"><\/script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"><\/script>
<meta charset="utf-8">
<title>Template</title>
</head>
<body>
</body>
</html></script>
<script id="jsbin-source-javascript" type="text/javascript">/*
How the data model might look based on
http://www.orleanscivilclerk.com/forms/civil_fees.pdf
and http://www.jpclerkofcourt.us/fees/
*/
var costData = {
orleans: {
"petition" : "503.50",
"petition-for-garnishment" : "282.50" //, etc...
},
jefferson: {
"petition" : "400.00",
"petition-for-garnishment" : "600.00" //, etc...
}
};
console.log(costData.orleans['petition-for-garnishment']);
</script></body>
</html>
/*
How the data model might look based on
http://www.orleanscivilclerk.com/forms/civil_fees.pdf
and http://www.jpclerkofcourt.us/fees/
*/
var costData = {
orleans: {
"petition" : "503.50",
"petition-for-garnishment" : "282.50" //, etc...
},
jefferson: {
"petition" : "400.00",
"petition-for-garnishment" : "600.00" //, etc...
}
};
console.log(costData.orleans['petition-for-garnishment']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment