PHP List wont show in Javascript
<pre><code>&lt;p&gt;Today's Date: &lt;?php echo $date; ?&gt;&lt;/p&gt;
&lt;p&gt;Are you applying for a day, evening, or weekend class?&lt;/p&gt;

&lt;select name="date" id="wclass"&gt;
&lt;option value="day"&gt;day&lt;/option&gt;
&lt;option value="evening"&gt;Evening&lt;/option&gt;
&lt;option value="weekend"&gt;Weekend&lt;/option&gt;
&lt;/select&gt;


Program Start Date:

&lt;div id="dates"&gt;&lt;/div&gt;

&lt;script language="javascript"&gt;
$(document).ready(function() {

$("#wclass").change(function ()
{
    if( $("#wclass").val() == 'day' )
    {
        $('#dates').html('&lt;select name="date"&gt;\
            &lt;option value="date1"&gt;&lt;?php echo $start1; ?&gt;&lt;/option&gt;\
            &lt;option value="date2"&gt;&lt;?php echo $start2; ?&gt;&lt;/option&gt;\
            &lt;option value="date3"&gt;&lt;?php echo $start3; ?&gt;&lt;/option&gt;\
            &lt;option value="date4"&gt;&lt;?php echo $start4; ?&gt;&lt;/option&gt;\
            &lt;option value="date5"&gt;&lt;?php echo $start5; ?&gt;&lt;/option&gt;\
            &lt;option value="date6"&gt;&lt;?php echo $start6; ?&gt;&lt;/option&gt;\
            &lt;option value="date7"&gt;&lt;?php echo $start7; ?&gt;&lt;/option&gt;\
        &lt;/select&gt;');
    } 
 }); 
});
&lt;/script&gt;
</code></pre>

<p>So my issue is that i cant get the dates to come up, the list wont show. If i put the listi in on its own, works like a charm. There an issue with the javascript?</p>

<p>This is what the browser gets:</p>

<pre><code> $('#dates').html('&lt;select name="date"&gt;\
 &lt;option value="date1"&gt;Aug 11&lt;/option&gt;\
 &lt;option value="date2"&gt;May 5&lt;/option&gt;\
 &lt;option value="date3"&gt;June 6&lt;/option&gt;\ 
 &lt;option value="date4"&gt;January 7&lt;/option&gt;\
 &lt;option value="date5"&gt;April 5&lt;/option&gt;\
 &lt;option value="date6"&gt;December 3&lt;/option&gt;\
   &lt;option value="date7"&gt;October 15&lt;/option&gt;\
 &lt;/select&gt;'); 
</code></pre>
