Rev | Line | |
---|
[278] | 1 | $(function() {
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | mockup.api.loadSelectedDataList = function() {
|
---|
| 5 | var _select = document.getElementById("select_selectData");
|
---|
| 6 |
|
---|
| 7 | for (var n = 0; n < shoppingCart.contents.titles.length; n++) {
|
---|
| 8 | var opt = document.createElement("option");
|
---|
| 9 | opt.value = shoppingCart.contents.uids[n];
|
---|
| 10 | opt.innerHTML = shoppingCart.contents.titles[n];
|
---|
| 11 | _select.appendChild(opt);
|
---|
| 12 | }
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | mockup.api.loadSelectedDataList();
|
---|
| 16 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.