Hi there,
I am trying to create a signup page that allows the user to insert their name, surname and email address so they can be added to a mailing list.
The users email address needs to be added to an external mailing application(on a different server), via a jquery GET request as well as Freeform(Expression engine plugin).
I am having trouble sending the jquery GET request from expression engine. The user details are being added correctly to the Freeform plugin.
This is the code I’m using to send from EE, once the form has validated:
$.get("https://www.MAILINGAPPLICATION.com/add_email.aspx?username=bob&password=bob", { Email:$('#email').val() },
function(data){
alert("Data Loaded: " + data);
});This is a standard task but I can’t get it working.
Any reason why this shouldn’t work?
Thanks.