jQuery.post outputting dropdown list
<p>I have created a dropdown list, which is working well in separate page:
<img src="http://i.stack.imgur.com/e26Z3.jpg" alt="normal"></p>

<p>however, when I use <code>jQuery.post()</code> to output it in a table in a PP page, the contents run out from the dropdown list:
<img src="http://i.stack.imgur.com/bEDOw.jpg" alt="abnormal"></p>

<p>The jQuery that I am using us like this:</p>

<pre><code>&lt;script&gt;
function showestate(){
$.post('admin/page/ur/showestate.php',{ 
zid: document.getElementById('zone').value

},
function(output){
$('#showestate').html(output);
}); 
}
showestate();
&lt;/script&gt;

&lt;div id='showestate'&gt;
    &lt;/div&gt;
</code></pre>

<p>please help! Thanks!</p>

<p>the dropdown list is like this:</p>

<pre><code>&lt;?php
include "../../db.php";
session_start();

?&gt;
&lt;select name="estate" id="estate" /&gt;
&lt;?php
$sql_sel_estate = "select * from [estate]";
$result_sel_estate = mssql_query($sql_sel_estate, $conn);
while ($record_sel_estate = mssql_fetch_array($result_sel_estate))
{
$estateid = $record_sel_estate['estateid'];
$estatename = $record_sel_estate['estatename'];
$estatenameen = $record_sel_estate['estatenameen'];
$estatezoneid = $record_sel_estate['estatezoneid'];
$estatecode = $record_sel_estate['estatecode'];

?&gt;

&lt;option value="&lt;?=$estateid?&gt;"&gt;
&lt;?=$estatenameen?&gt;&lt;br&gt;
&lt;/option&gt;
&lt;?php
}
?&gt;
&lt;/select&gt;
</code></pre>
