Can you "reload' the combo box

I use the (autocompletion) drop down combo box using an xml file to hold the data. When the user cannot find his selection in the list, I have a popup box to add a record to the database, then create a new xml file. Works fine if you reload the entire page but this causes the user to go back and re-enter the data from ALL the form fields.



Is there any way to create a link that says “Reload” and reload the new xml data as if the page is reloaded?


You can use the following approach to call request to the server with the necessary mask ( the new text):


combo.setComboText(text);


combo.filterSelf();


But this method should be called only after new value is saved in the database (if you use ajax to save new data, after the response is got).