BTW I tend to use symbols for html ids - that way declaring and calling you use the same symbol and don&#39;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: &#39;courier new&#39;, monospace; border-collapse: collapse; white-space: pre-wrap; ">        | val |

        html div id: #txt; with: &#39;&#39;.
        html break.
        html select
                list: { 1. 2. 3. };
                selected: 2;
                
                &quot;Pass the selection back to the server and save it.&quot;
                onChange: ((html jQuery ajax script: [ :s | s &lt;&lt; (s jQuery: #txt) text: (val - 1) ]) serializeThis);                
                callback: [ :v |  val := v ]</span><br><br></div>