Forum Moderators: open
Now I need to have an "email directions" option as well. So if I can print the Generated content of a div, is it also possible to create a "mailto" where it would automatically put that same content in the message's body? And if so what would be the best method to use? PHP? JavaScript? Anything else?
Just a quick note: When the directions are created it doesn't change the page's address. It just produces the results and the address remains the same clean address. So I can't target the address.
(If this targets a particular subject please fell free to move this post to it's corresponding subject.)
If your not familiar with Ajax, then the 'mailto' but could be a hidden form submission button which directs to a php page that does the work.
The easiest, but worse option is use a mailto:[email]?subject=[subject]&body=[body] ..something like that. I haven’t use this method for a long while.