Click to See Complete Forum and Search --> : using the mailto command


pelegk1
08-11-2003, 03:08 AM
i wanton click of a button to call for a function in which i will build the string for the mailto command
and in the end the mailTo command will execute!
part of the thing that i use a function is beacuse i need to get the window.location value
10X:) in advance
PEleg

ibidris2003
08-11-2003, 05:22 AM
function doMail(mailaddress)
{
var s = "mailto:" + mailaddress;
location.href = s;
}

http://galileo.spaceports.com/~ibidris/