trying to find the solution, please help. First of all find the code below.
when i remove the 'right variable' it's working fine. But i have to add the text of this div in every email. i have tried .text() and .html() both are not working. Please help me how to grab the text of a div in php mail function.
You cannot use jquery within php. if you want to
POSTthe data you should set a hidden textarea with that data using jquery and you will be able to use it in the php script that processes the form. I assume hidden if you dont want the user to see the content in a textarea.