I have lots of servers (12), so there is to much mail server. I tried to add their ip adress it worked fine but i am thinking my custemers. I tried to write a autofill java. It worked but i couldnt integrate it. these are the codes.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/url]
<html xmlns="[url]http://www.w3.org/1999/xhtml">[/url]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>Untitled Document</title>
<script language="javascript">
<!--
function sunucuBul(kullaniciadi){
user_server=kullaniciadi.split("@",2);
if (user_server.length==2 & user_server[1]!="" & user_server[0]!=""){
form1._host.value="mail."+user_server[1];
} else {
alert ("Hatalı kullanıcı ismi !");
}
}
//-->
</script>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="231" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="72">kullanıcı</td>
<td width="144"><input name="_user" type="text" id="_user" onchange="sunucuBul(this.value);" /></td>
</tr>
<tr>
<td>şifre</td>
<td><input type="text" name="_pass" id="_pass" /></td>
</tr>
<tr>
<td>sunucu</td>
<td><input type="text" name="_host" id="_host" disabled="disabled" /></td>
</tr>
</table>
<p><a href="#" onclick="sunucuBul(form1._user.value)">kontrol deneme</a></p>
<p>
<input type="submit" name="button" id="button" value="Submit" />
</p>
<p> </p>
</form>
</body>
</html>