Wednesday, August 25, 2010

Edna at Singapore Speedpost, please email me!





Ugh... I've got a shipment of stuff coming via Speedpost from Singapore, and I can't sign up for email shipment notifications because their main page explicitly rejects my email address.

Interestingly, the guilty party (Edna) put in a comment taking the blame for the situation.  It seems she's never come across a two-letter login name!

http://www.speedpost.com.sg




function isEmail(Mail) {
 Mail=Mail.toLowerCase();
 return (Mail.search(/^([a-z]+)([a-z0-9\-\_\.]{1,100})([a-z0-9]+)\@([a-z0-9]+)([a-z0-9\-\.]*)([a-z0-9]+)\.([a-z]{2,6})$/) != -1);
}
function checkEmail() {

 var eml = document.onlineform.txtEmail.value;
 if (isEmail(eml)) {
  document.onlineform.action='speedpost_services_track_check.asp';
  document.onlineform.submit();
 }
 else
 {
  alert("Invalid email address. Pls re-enter.");
 }

}

0 comments: