I can’t seem to get jquery .post to actually trigger. Where is the glaring hole? The alert functions on click, but not the post. Doesn’t show up in firebug console either…
<script type="text/javascript">
$(document).ready(function() {
$('#submitemail').click(function(){
alert('this works');
$.post("post.php","email=joe.blow@gmail.com&user=1");
});
});
</script>
Try this:
The issue may be that the anchor is firing before the post javascript fires.