Hello, I am new to jQuery UI but could not find an answer. I have a webpage that has some textboxes on it. When a user clicks on one of the text boxes a jQuery UI dialog box opens using the .load to load a HTML page. The HTML page contains is a short script just basically containing something like the code below. I am succesfully returning the value to the parent textbox via 'parent.mfac_falue' function but the modal window does not autoclose upon the selection of the item, which is what I want to happen.
How can I get the modal window to autoclose immediately after someone selects an item from the dropdown box? Let me know if you need more info, thank you.
Matthew
<select name="resp" id="input" onclick="parent.mfac_value(this.form.resp.value);">
<option value="Choice">
<option value="APC">APC</OPTION>
<option value="APPLE">APPLE</OPTION>
<option value="XEROX">XEROX</OPTION>
</select>