Created
April 24, 2013 19:13
-
-
Save cpuguy83/5454738 to your computer and use it in GitHub Desktop.
Bad call? This stuff is loaded after the page is loaded. Why are they making 4 separate requests to pull a name for something they already had an ID for?
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
<script type="text/javascript"> | |
$(function () { | |
$.post('/Juice/Global/JsonGetDivisionName', { id: '2117fcab-7dd1-45a2-8404-aa0c56d9ed43' }, function (data) { | |
$('.ref_loader_' + '2117fcab-7dd1-45a2-8404-aa0c56d9ed43').html(data); | |
}); | |
}); | |
</script> | |
<script type="text/javascript"> | |
$(function () { | |
$.post('/Juice/Advertisers/JsonGetName', { id: 'b6e16bd0-3f92-4d11-9b9b-ce572e33edc2' }, function (data) { | |
$('.ref_loader_' + 'b6e16bd0-3f92-4d11-9b9b-ce572e33edc2').html(data); | |
}); | |
}); | |
</script> | |
<script type="text/javascript"> | |
$(function () { | |
$.post('/Juice/Global/JsonGetSalesContractStatusTypeName', { id: '4667ef8f-b7a4-4f6c-b8e8-6df02ac8d876' }, function (data) { | |
$('.ref_loader_' + '4667ef8f-b7a4-4f6c-b8e8-6df02ac8d876').html(data); | |
}); | |
}); | |
</script> | |
<script type="text/javascript"> | |
$(function () { | |
$.post('/Juice/Global/JsonGetProposalStatusTypeName', { id: '0177a119-221b-4d0a-9089-71f3a8ab3050' }, function (data) { | |
$('.ref_loader_' + '0177a119-221b-4d0a-9089-71f3a8ab3050').html(data); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment