BTW I tend to use symbols for html ids - that way declaring and calling you use the same symbol and don't have to remember to add the # to the string when querying. Your method would then become:<div><br></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace; border-collapse: collapse; white-space: pre-wrap; ">        | val |
        html div id: #txt; with: ''.
        html break.
        html select
                list: { 1. 2. 3. };
                selected: 2;
                
                "Pass the selection back to the server and save it."
                onChange: ((html jQuery ajax script: [ :s | s << (s jQuery: #txt) text: (val - 1) ]) serializeThis);                
                callback: [ :v | val := v ]</span><br><br></div>