source:
Dev/branches/Cartis/Tiles preview/pages/graphSelection.js
@
278
Last change on this file since 278 was 278, checked in by tjcschipper, 13 years ago | |
---|---|
File size: 499 bytes |
Line | |
---|---|
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.