I'm working on a profile page that auto-populates email field, would like to get text value and then use it as variable on PHP.
To get the text value, using jquery:
jQuery(document).ready(function(){
var str = jQuery(".user_email").text();
});
Is there a way to echo variable "str"? Thanks in advance.