Hi Everyone,
I am working on a website and was wondering I can imitate one of those forms where you can send a friend an email. I need the form to utilize the email that a person would put in the text field and then send a copy of the form to that address. Any help would be appreciated!
<SCRIPT language='javascript'>
<!--
function jsMailThisUrl()
{
var email_subject = 'Check out this web page I found...';
var email_body = 'Short description of this page';
var page_url = window.self.location.href.split( '?' )[0];
page_url = page_url + '?source=email_friend';
var field = document.email_friend_script.address;
window.location = 'mailto:' + field.value + '?subject=' +
escape( email_subject ) + '&body=' +
escape( document.title + ': ' + email_body + ': ' + page_url );
}
//-->
</SCRIPT>
Thanks! I apologize, I am not to familiar with Java. Here is the link to the form I am helping with view-source:http://www.unco.edu/housing/reslifestaff/desk/LoginInfo/ce ntralcoalition-test.html. Where might I integrate that in the current code.
Thanks Again!
It's Javascript, not Java (two very different animals)
This is a crude standalone script for your visitor to send a link to a "friend"
No connection with your form which sends fom entries to mailto melinda.cronin@unco.edu
It can be pasted in the document flow on any web page wherever you want its send button and text entry box to appear
North America
Europe, Middle East and Africa
Asia Pacific