I am using jquery .post using codeigniter controller. (see code below)
I serve everything over ssl using open ssl for now..
Everything worked when I was developing on port 80 using http. I am thinking as why it is not working I am using CDN's that are not over https.......?
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
Is this the problem why the .post wont work or iis it something I am doing wrong.............
$(function(){
$("#JqPostForm").submit(function(e){
e.preventDefault();
$.post("/welcome/add_user", $("#JqPostForm").serialize(),
function(data){
if(data.email_check == 'invalid'){
$("#message_post").html("<div class='errorMessage'>Sorry " + data.name + ", " + data.email + " is NOT a valid e-mail address. Try again.</div>");
} else {
$("#message_post").html("<div class='successMessage'>" + data.email + " is a valid e-mail address. Thank you, " + data.name + ".</div>");
}
}, "json");
});
});