PDA

View Full Version : drop down calling function


jakepeg
01-18-2006, 01:22 PM
what is wrong with this? it was working before, but I somehow managed to break it.

webmail.setChangeHandler("getWebMail");

function getWebMail(c){
var i=c.getSelectedItem().label;
if (i=="AOL") {
trace("webmail aol");
}
}