<html>
<body>
Hi,<br><br>
I am trying to use javascript in one of my pages..<br><br>
<script lang="javascript"
type="text/javascript"><br>
function <b>emailpage()<br>
</b>{<br>
var htmlcontents;<br>
htmlcontents=escape(document.body.innerHTML);<br>
alert(htmlcontents.length);<br>
document.location.href="<a href="mailto:nthomson@lintas.com%3Fsubject=Nominationform%26body" eudora="autourl">mailto:nthomson@lintas.com?subject=Nominationform&body</a>="+htmlcontents;<br>
alert(document.Nominee Name.value);<br>
}<br>
</script><br><br>
And i tried calling it from <br>
<form <b>onsubmit="emailpage()</b>" action=""
METHOD="POST" ENCTYPE="text/plain"><br><br>
i get error =><br>
<font color="#FF0000">Expected )<br><br>
</font>And with <br>
<input type="image" src="]]><method
name="getServletPath"/><![CDATA[images/submit_button_blue.gif"
<b>onClick="emailpage()"</b>> </td><br>
<br>
i get error when i refresh the page =><br>
<font color="#FF0000">Expected )<br><br>
</font>And when i submit, i get the following error=><br>
<font color="#FF0000">Error: Object Expected<br><br>
<br>
</font>Can some one help please? <br><br>
-Anna<br><br>
At 04:16 PM 7/8/2004, you wrote:<br>
<blockquote type=cite class=cite cite="">Hi every one,<br><br>
I am trying to use the FormMail
module(http://www.opencms.org/opencms/en/download/sandbox.html) ..I don't
know why but i cannot import/upload a module. So i have to create it from
start. I downloaded the Formmail module on my local machine.Extracted
it.<br><br>
Created a new module at the opencms site called
com.opencms.modules.trial.form in the administration. Went to Explorer
view, traversed to system/modules/com.opencms.modules.trial.form .Created
a new folder resources and uploaded the Email.JAVA and JFormMail.JAVA as
binary files..<br><br>
Is this the right way..Now what should i do? None of the documentation i
came across are clear..<br><br>
Pls pls help..<br><br>
Thanks,<br>
Anna<br><br>
At 03:38 PM 7/8/2004, you wrote:<br>
<blockquote type=cite class=cite cite="">Hi,<br><br>
The import modules utility does not seem to be active in my opencms
installation. I cannot delete newly created or any modules..Is
there some thing i have to do to make it active?<br><br>
Thanks,<br>
Anna<br><br>
<br>
_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please
visit<br>
<a href="http://mail.opencms.org/mailman/listinfo/opencms-dev" eudora="autourl">http://mail.opencms.org/mailman/listinfo/opencms-dev</a></blockquote><br>
_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please
visit<br>
<a href="http://mail.opencms.org/mailman/listinfo/opencms-dev" eudora="autourl">http://mail.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></body>
</html>