Created
July 4, 2018 06:59
-
-
Save francoispeyret/bf5e1a65dd600a19100333ba6f97ff3c to your computer and use it in GitHub Desktop.
OpartDevis correction de correction
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
//---// | |
for (var k=0; k < order.length; k++) { | |
if ($('#selected_carrier').val() == order[k]) { | |
var selected = 'selected'; | |
} else { | |
var selected = ''; | |
} | |
carrierSelect.append('<option value="' + order[k] + '" ' + selected + '>' + data[order[k]]['name'] + ' - ' + data[order[k]]['price'] + ' '+currency_sign+' (' + data[order[k]]['taxOrnot'] + ')</option>'); | |
} | |
//---// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment