function alertContener() {
if (HttPRequest.readyState == 4) {
if (HttPRequest.status == 200) {
result = HttPRequest.responseText;
document.getElementById('myspan').innerHTML = result;
} else {
//alert('There was a problem with the request.');
result = HttPRequest.responseText;
document.getElementById('myspan').innerHTML = result;
}
}
}
function SubmitContent(value) {
document.getElementById('myspan').style.visibility = 'hidden';
document.getElementById('myspan').style.visibility = 'visible';
var poststr = "Username=" + encodeURI(document.getElementById('Username').value);
CallPOSTRequest('ajax2.php',poststr);
</label>
<span class="textfieldRequiredMsg">A value is required.</span></span></span></td>
</tr>
<tr>
<td width="208" bgcolor="#F0F8FF"><div align="right">รหัสผ่าน :</div></td>
<td bgcolor="#F0F8FF"><span id="sprytextfield9">
<label></label>
<span id="sprytextfield19">
<label>
<input type="text" name="Password" id="Password"OnClick="JavaScript:SubmitContent();">
</label>
<span class="textfieldRequiredMsg">A value is required.</span></span></span></td>
</tr>
<tr>
<td bgcolor="#F0F8FF"><div align="right">ยืนยันรหัสผ่าน :</div></td>
<td bgcolor="#F0F8FF"><span id="sprytextfield10">
<label></label>
<span id="sprytextfield20">
<label>
<input type="text" name="confirm_pass" id="confirm_pass">
</label>
<span class="textfieldRequiredMsg">A value is required.</span></span></span></td>
</tr>
</table>
<p> </p>
<p> </p>
</form>
<script type="text/javascript">
<!--
var sprytextfield17 = new Spry.Widget.ValidationTextField("sprytextfield17");
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
var sprytextfield16 = new Spry.Widget.ValidationTextField("sprytextfield16");
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
var sprytextarea2 = new Spry.Widget.ValidationTextarea("sprytextarea2");
var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15");
var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14");
var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13");
var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield12");
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11");
var sprytextfield18 = new Spry.Widget.ValidationTextField("sprytextfield18");
var sprytextfield20 = new Spry.Widget.ValidationTextField("sprytextfield20");
var sprytextfield19 = new Spry.Widget.ValidationTextField("sprytextfield19");
//-->
</script>