Hello All,
I am having a little problem with a javascript within my ASP code. Before hand I apologize if this is not the correct Forum to post this.
Senario:
I have an asp Page that has an javascript when you submit the page the java script opens outlook and enters some data into the email To: , Subject: and Body of the e-mail.
Everything was working well. Nothing has changed but all of the sudden the
variables are not working.
I have checked and re-checked the code and nothing seems to be wrong, so I think I am going in circles. Could anybody give me a hand with this one?
Thank you
I am having a little problem with a javascript within my ASP code. Before hand I apologize if this is not the correct Forum to post this.
Senario:
I have an asp Page that has an javascript when you submit the page the java script opens outlook and enters some data into the email To: , Subject: and Body of the e-mail.
Everything was working well. Nothing has changed but all of the sudden the
variables are not working.
I have checked and re-checked the code and nothing seems to be wrong, so I think I am going in circles. Could anybody give me a hand with this one?
Thank you
Code:
<head>
<script>
function initialize()
{
document.forms['form'].elements['email'].value = temp ;
}
</script>
</head>
<body>
<script type=text/javascript>
function openoutlook()
{
var S=document.form.customer.value;
var B=document.form.comments2.value;
var M=document.form.email.value;
var A= <% = request.querystring("id") %>
var url = '[URL unfurl="true"]http://mywebsite/view1.asp?id='[/URL] + escape(A);
self.location="mailto:abc@mywebsite.com?subject=An Update Has Been Made To XYZ Project# "+A+" By "+M+"&body="+M+" Updated Project # "+A+" . Here is the link to the project "+url; }
</script>