JavaScript: Password on textarea
by MythOfEchelon
HTML
<!DOCTYPE html> <!-- This is just my HTML5-valid template. Make sure you set this up correctly for your personal needs -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style>
* {
margin: 0;
padding: 0;
}
html {
font: 16px "Segoe UI", "Segoe WPC", Helvetica, Arial, "Arial Unicode MS", Sans-Serif;
}
div {
float: left;
}
p {
margin-bottom: 20px;
}
#page_Wrapper {
width: 500px;
}
#topHalf, #bottomHalf {
width: 100%;
height: 250px;
}
#image_Wrapper, info_Wrapper {
width: 49.9%; //50% won't let them be inline
}
#profile {
width: 100%;
height: 200px;
}
</style>
</head>
<body>
<div id="page_Wrapper">
<div id="topHalf">
<div id="image_Wrapper">
</div>
<div id="info_Wrapper">
<p>
<span>Age:</span>
<br />
<br />
<input type="text" id="age" placeholder="Age" onClick="promptPassword(this.id)" />
</p>
<p>
<span>Sex:</span>
<br />
<br />
<input type="text" id="sex" placeholder="Sex" onClick="promptPassword(this.id)" />
</p>
<p>
<span>Location:</span>
<br />
...