私はquery-ui-Dialog-BasicModalを使用して、Fullcalenderイベントのポップアップフォームを作成しています。それは素晴らしい働きをします。ただし、モーダルの入力フィールドの1つとして選択リストを追加したいと思います。
以下はテストとして機能します。
<div id="dialog-form" style="display: none" title="Create new event">
<form>
<fieldset>
<label for="workorder">Workorder</label>
<select name="workorder">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
</select>
<label for="title">Title</label>
<input type="text" name="title" id="title" class="text ui-widget-content ui-corner-all" />
<label for="description">Description</label>
<input type="text" name="description" id="description" value="" class="text ui-widget-content ui-corner-all" />
<label for="hours">Hours (All Day ONLY)</label>
<input type="floating" name="hours" id="hours" value="" class="text ui-widget-content ui-corner-all" />
</fieldset>
</form>
</div>
モーダルは、選択値をオプションとして表示します-これまでのところ良好です。
次に、ワークオーダーテーブルのデータをオプションに入力します。
どうすればいいですか?
ありがとう!!