Showing posts with label javascript email. Show all posts
Showing posts with label javascript email. Show all posts

Saturday, February 20, 2010

Generating an email link from Parent Data

Here's an example of using composing an email link pre-filled with data from the grid and placing the link into a div located somewhere on the page.

addr = "<a href='mailto:"+parent.v_email+"'>"+parent.v_email+"</a>";
$('d1').innerHTML='<b>Activity for '+addr+'</b>';