My guess (based on my experience with JQuery rather than Dojo), is that the line: &#39;dijit.byId&#39; isn&#39;t working?<div>Have you checked in your browser&#39;s console (using Firebug or dev tools etc) that there are no javascript errors?</div>
<div>Once the page had rendered, try opening up the console and entering dijit.byId(&quot;dailyDates&quot;). Do you see any results? If Dojo is anything like jQuery then you&#39;re missing a &#39;#&#39;; try dijit.byId(&quot;#dailyDates&quot;)</div>
<div><br><div><br><div class="gmail_quote">On 1 September 2011 12:58, Randy Nelson <span dir="ltr">&lt;<a href="mailto:randy.nelson@fiserv.com">randy.nelson@fiserv.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m fairly new to Seaside, Dojo, etc... I&#39;m posting this on both Dojo and this<br>
forum because I don&#39;t know where my problem is...anyway, I&#39;m having trouble<br>
getting the selected value from a list.<br>
renderContentOn: html<br>
    html div<br>
        class: &#39;MyPanel&#39;;<br>
        with: [<br>
            html select<br>
            id: &#39;dailyDates&#39;;<br>
            list: (self dates);<br>
            selected: (self currentDailyDate);<br>
            callback: [ :value |<br>
                self currentDailyDate: value ];<br>
            onChange: (<br>
                (html jQuery ajax)<br>
                    script: [ :s |<br>
s add: (JSStream new nextPutAll: (&#39;var dateList = dijit.byId(&quot;dailyDates&quot;);<br>
alert( dateList );&#39;); yourself).<br>
 ] )<br>
        ]<br>
I always get an alert with &quot;undefined&quot; in it. For sanity, (that&#39;s<br>
questionable....), I&#39;ve tried just setting var dateList = 5 and then my alert<br>
displays &quot;5&quot; as expected. For now, I&#39;m not worried about not trying to get the<br>
selected value - I can&#39;t seem to find the component...any ideas? Thanks<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br></div></div>