The only information I am collecting is emails for my newsletter. I have found a couple of examples to do some of this, however after clicking submit it stills goes to and other site? is there a way to stay on my site the whole time? I am using dreamweaver and writing the code. Thank you for your help.
I have tried the ajax code also, however in edge and chrome it still goes to the subscribe page. I must be doing something wrong.
It is difficult to guess what is happening from your description but possibly you have added the code for a single email address and are asking for a confirmation email as well, or vice versa.
I have made sure to only ask for one email
No confirmation. I even tried your code and once clicked it kicked me to the other page. What code would you need to look at? On ie11 it works fine.
It would be useful to see what happens when visiting your page
My test page is frisbeeanimalrescue.org/testemail.html
Top code is yours bottom box Ajax code
@one11racing Using Firefox, after submitting the ajax form the response from phplist was being blocked due I think to using different protocols (http and https) for your test page and for phplist
07:56:48.097 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://frisbeeanimalrescue.org/phplist/?p=asubscribe&id=1. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://frisbeeanimalrescue.org’).[Learn More]
After using https for the url to your test page the subscription was successful
Thank you for the input I changed the code and now works in edge and ie11, chrome still a weird one. Thank you for the help
Update got chrome working also!! Thank you so much for the help!
It might be a scripting error. Kindly send me webpage for a proper reply.