Thursday, January 17, 2008

Use of Java Script for the text change event.

script type="text/javascript"

function findEmail() {
var areacode = document.getElementById("areacode").value;
var phone = document.getElementById("phone").value;
document.getElementById("tmo").innerHTML = areacode + phone + "@tmomail.net";
document.getElementById("cin").innerHTML = areacode + phone + "@mobile.mycingular.com";
document.getElementById("spr").innerHTML = areacode + phone + "@messaging.sprintpcs.com";
}
script
calling the Java Script function:-

<table class="content-table">
<tr><th>Carrier