I had a few ideas on how this would work, but nothing is working so far.
When user logs into php/codeigniter app, email address is stored into session data. onLoad, I want to prepop a field with the email address of the user that logs in using jquery.
I am using this to output the code on the page for testing:
<?php
$userEmail = $this->session->userdata('USER_EMAIL');
echo $userEmail;
?>