Javascript 安吉斯,也许这就是你想要的。检查此链接并感谢快速回复@user3684675。不幸的是,我知道您的目标不是限制/静态宽度,但如果没有宽度,表格将扩展到其内容。 $('.mortgageType').val(''); //clearing all the

Javascript 安吉斯,也许这就是你想要的。检查此链接并感谢快速回复@user3684675。不幸的是,我知道您的目标不是限制/静态宽度,但如果没有宽度,表格将扩展到其内容。 $('.mortgageType').val(''); //clearing all the,javascript,jquery,html-table,Javascript,Jquery,Html Table,安吉斯,也许这就是你想要的。检查此链接并感谢快速回复@user3684675。不幸的是,我知道您的目标不是限制/静态宽度,但如果没有宽度,表格将扩展到其内容。 $('.mortgageType').val(''); //clearing all the dropdown values and showing blank as the code suggests.. <div class="cloneX10 indField" id="status2" style="word-wrap


安吉斯,也许这就是你想要的。检查此链接并感谢快速回复@user3684675。不幸的是,我知道您的目标不是限制/静态宽度,但如果没有宽度,表格将扩展到其内容。
  $('.mortgageType').val(''); //clearing all the dropdown values and showing blank as the code suggests..
<div class="cloneX10 indField" id="status2" style="word-wrap: break-word;"></div>
//$('.mortgageType').val('');
// or something simple like line below
$('.mortgageType').val('Auto'); //So you'll set "Auto" to all selet elements and in the loop you'll change them based on what database returns.
<table class="loanTable" id="loanTable" border="1" style="table-layout:fixed;">
    ...
    <td><div class="cloneX10 indField" id="status2" style="white-space: nowrap;overflow: hidden;"></div></td>