This is because the form element doesn't exist when you initially load the page.
Use the event selector on the body element to grab the form dynamically.
$('body').on('input', '#email', function() { console.log("IN"); $.ajax({ url:'....', data: { 'email_input': $(this).val() }, success: function(data) { } }); });