cfdiv submit form refresh list in other cfdiv
I have two cfdvs on my page. One has a list and another has a form in it:
<cfdiv name="w1">
<cfinclude template="list.cfm">
</cfdiv
<cfdiv name="w2">
<cfinclude template="form.cfm">
</cfdiv
When I submit my form, the result is loaded inside div w2. Now I want to refresh the div with the list too. So I tried this at the end of the page that processes the form:
<script>
Coldfusion.navigate('list.cfm','w1');
</script>
This didn't work. I get an error: "... element not found: w1 ...".
Does anyone know how to refresh the list after processing the submitted form data?
