Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Hardware>>Hiding an email address using javascript

Hiding an email address using javascript

Errica
03-16-2006, 07:26 PM
I've used the code below and it works fine using onsubmit in the form tag.

<script language="JavaScript">
<!--//
function insertmail()
{
var f = document.phpformmail;
var one = "person";
var two = "@";
var three = "xyz.com";
f.recipient.value = one + two + three;
return true;
}
//-->
</script>

How can I use this, or something with a similar methodology, to hide and place an email address into this hidden input?

<input name="recipient_bcc" type="hidden" value="email@xyz.com">


 

TOP

Hyperthreading hurts s
HP sharpens blade PC l
Apple goes for Quad po
Itanium gets scaled do

For more info

HP sharpens blade PC l
Hyperthreading hurts s
can not call click() i
script does not work o
smart menu 
write to an html file 
FireFox doesn't recogn
Changing e.keyCode (e.
Clearing a range creat
UPDATE: My mouse over 

News Archive

onChange Help 
beforeload? vs onload.
Problem with document.
decreasing my javascri
Problem with \\ and \ 
how to stop scrolling?
Change Label Text Colo
Can I forward a page b
2 javascript functions
Validating a textbox 

Related stories:

Dropdown works in IE / Firefox but not Safari
Styling disabled form elements?
Dynamically Populate Slideshow
Parameter Used to Update Formula
when to use return functionName on events
script that adds item to cart without going to shopping cart
problem with HTTPS
ebaY Category Picker doesn't work
window.opener problem when navigating away

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics