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: 'dialog'; title: 'New Simulation';</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: 'New Simulation';</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: 'Done' do: html jQuery new dialog close;</div><div> <span class="Apple-tab-span" style="white-space:pre">                        </span>addButton: 'Close' 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't quite know how to process things in case someone presses the 'Done' button above.</div>
<div><br></div><div>Also as one of the results of the user pressing 'Done' I want to alter the contents of a select list, to which I would like to add another element. I couldn't find examples of this kind of form component alterations, I don'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>