Moin,

I play with the following examples:

    function requestSeries(id) {
      var d = loadJSONDoc("${std.url('/serie', tg_format='json')}" +
"&id=" + id);
      d.addCallback(showSerieList);
     }
    function showSerieList(result) {
       var currentpagelist = UL(null, map(row_displayx,
result["series"]));
       replaceChildNodes("serielist" + id, currentpagelist);
    }
    function row_displayx(pagename) {
       return LI(null, pagename["desc"])
    }

How do I get the parameter "id" from requestSeries to showSerieList? I
need this parameter to select the "output slot".

Many thanks
Matthias

Reply via email to