コントロールグループを初期化しようとするたびに、テキスト入力が最後になるように順序が変更されます。jQuery-uiコントロールグループの初期化時のテキスト入力順序の変更
HTML:
<fieldset>
<div class="controlgroup">
<label for="instrID" class="ui-controlgroup-label">ID:</label>
<input type="text" name="instrID" id="instrID">
<label for="instrAddr" class="ui-controlgroup-label">Address:</label>
<input type="text" name="instrAddr" id="instrAddr">
<label for="dropDownFormat" class="ui-controlgroup-label">Format:</label>
<select id= "dropDownFormat"><option selected='DEFAULT'>DEFAULT</option><option>OPT_2</option><option>OPT_3</option></select>
<label for="radio-write" class="ui-controlgroup-label">Type:</label>
<label for="radio-write">Write</label>
<input type="radio" name="radio-wr" id="radio-write">
<label for="radio-read">Read</label>
<input type="radio" name="radio-wr" id="radio-read">
<button id="addCmd">Add Command</button>
</div>
JS:
$(document).ready(function(){
$(".controlgroup").controlgroup();
});
入力のテキストタイプをオートコンプリートウィジェットとして追加することもできます。少なくとも、ラベルスタイルの代わりにテキストスタイルの入力が残っています。 – Alex