KookRoss
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Redirection crashes IE 11 – perfect for all otherstry
on_sent_ok: "$("#wpcf7-f5908-p6481-o1").empty();window.location.replace('https://www.url.com.au/thank-you/');"As that should reference the div around the form on that page.
Failing that I’m not sure, your page structure is quite different to the one I was working in.
Forum: Plugins
In reply to: [Contact Form 7] Redirection crashes IE 11 – perfect for all others@mhcaus not really sure, that method (undesirable as it is) worked for me. If you post an address I’ll take a quick look and post an on_ok_sent string for you adjusted for your form.
Forum: Plugins
In reply to: [Contact Form 7] Redirection crashes IE 11 – perfect for all othersFound a solution to this, its an ugly one but it does get around the issue for me.
on_sent_ok: "$("#post-440").empty();window.location.replace('https://www.url.com.au/thank-you/');"Where post-440 is the ID of the div which surrounds the form. Put simply your post led me to the belief that IE is somehow passing that form again before doing the redirection, this uses jQuery to clear that entire page of content (including the form) before doing the redirection.
Its a hack way to get around the IE issue but so far its working in all browsers for me including IE11.