I have two cfdvs on my page. One has a list and another has a form in it:
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:
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?
You are currently using 3 pages. However, you can achieve what you want in two.
<div id="w2" name="w2">
<!--- make form to submit to its own page, that is, to form.cfm --->
<cfinput type="text" name="txt">
<cfinput type="submit" name="sbmt" value="send">