Closed oleteacher closed 6 years ago
Hi Susan,
Thanks for posting back in here!
The first problem is, that Ajaxify expects a div
to be supplied in the selector, not a form as such.
A good candidate is the div
you're using to wrap the form in. Simply give the div
and id such as
id="mydiv"
...and then pass it to the Ajaxify call something like this:
$(document).ready(function(){ jQuery('#mydiv').ajaxify();});
(The above div
should be used consistently across all pages that use Ajaxify)
Give it a try, but it could be though, that your form is too complex for Ajaxify to handle...
(You could also try omitting the table
logic - I doubt, that Ajaxify will tolerate it)
Thanks, Arvind
Thanks Arvind.
My thick head did not grasp that it must be a div even though your docs state that clearly:) I was using another ajax script and it worked from the form tag...
I think your response has fixed my issue.
Appreciate your help and thank you for sharing your wonderful ajaxify.
Susan
Hi Susan,
Thanks for the kind words and am glad that it helped! Does that mean, that your form works now, too?
Thanks again, Arvind
Yes, form is working and think ajax is working on the test form. Seems page is reloading when clicking the submit button but not positive.
When I get the project fully together will test completely, will get back to you if issue.
Thank you much for help.
Susan
Hello Arvind. I had asked question on your site comment form but content was stripped.
Below is my simple test form. Not positive I am using ajaxify correctly. Form seems to reload page when submitted:
Thank you for taking time to look.
Susan