After your ajax data is inserted, you need to "rebind" the form (eg, call $("#dcdays").ajaxSubmit(); again).

So in your ajaxSubmit function...

$("div#indicate").hide();

$("div#instruct").hide();
$("div#selfreview").html(text).fadeIn("slow");
// Add this -->
$("#dcdays").ajaxSubmit();
}); return false; });}

Try that and see if it works...

-js


On 8/10/06, Bruce MacKay <[EMAIL PROTECTED]> wrote:
Hello folks,

I'm having difficulty in getting an application to allow repeated AJAX calls.

The basic structure of the application is

<div id="selfreview"><form action="" id="dcdays"></form></div>

Users are presented with a question and a data entry form in
"selfreview" and once submitted, an answer and a link to generate
another question is returned to "selfreview"

The newly generated question and data entry form is fed into "selfreview".

At this point, however, when the form is submitted, the browser
(FF/IE6) ignore the AJAX submit code and sends the user to the
AJAX-call processing file ("blah").

The application is here: http://horticulture127.massey.ac.nz/degreeCdays3.asp

Can someone please help me out of the hole I'm in?

Thanks,

Bruce




Bruce R MacKay
College of Sciences
PN 452
Massey University
Private Bag 11222
Palmerston North
New Zealand

p ++64 6 3504423
f ++64 6 3505610



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to