refresh cfquery
I have followign code to have my dropdown list, it seems that it does not refresh the list until re start the application.
I have a create new button beside the list to let user create new records if it does not exsit.
The create new record works, but the list does not refresh until next time to restart application.
I would like to know is it possible to refresh cfquery on the select control when user add new record.
Your help and information is great appreciated,
Regards,
Iccsi,
<select name="Mylst" id="Mylst" >
<cfoutput query="MySP">
<option value="#MySP.MyID#"
<cfif (isDefined("form.MyID") AND form.MyID EQ MySP.MyID)
>selected="selected"</cfif>>#MySP.MyName#</option>
</cfoutput>
</select>
