Hi<div>I am a complete n00b in terms of ajax / jQuery and I have a couple of basic questions:</div><div><br></div><div>I have created a simple dialog using code similar to the one provided in the example:</div><div><br></div>
<div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html div id: &#39;dialog&#39;; title: &#39;New Simulation&#39;;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>script: (html jQuery new dialog</div>
<div>    <span class="Apple-tab-span" style="white-space:pre">                </span>title: &#39;New Simulation&#39;;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>width: 600;</div><div>   <span class="Apple-tab-span" style="white-space:pre">                        </span>autoOpen: false;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>addButton: &#39;Done&#39; do: html jQuery new dialog close;</div><div>   <span class="Apple-tab-span" style="white-space:pre">                        </span>addButton: &#39;Close&#39; do: html jQuery new dialog close);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>with: [ ... ]</div><div><br></div><div><br></div><div>I see that JQ widgets do not implement the #callback: method, hence I don&#39;t quite know how to process things in case someone presses the &#39;Done&#39; button above.</div>
<div><br></div><div>Also as one of the results of the user pressing &#39;Done&#39; I want to alter the contents of a select list, to which I would like to add another element.  I couldn&#39;t find examples of this kind of form component alterations, I don&#39;t know if it is even possible or not.</div>
<div><br></div><div>Cheers</div><div><br></div><div><br></div><div>r</div></div>