Mhtml
04-18-2003, 06:11 AM
ok, I use this script to insert emoticon codes into the text box on my shoutbox:
function addValue(theValue){
if(shoutForm.Mess.value == 'Message'){
shoutForm.Mess.value = theValue;
return true;
}else if(shoutForm.Mess.value == ''){
shoutForm.Mess.value = theValue;
return true;
}else{
shoutForm.Mess.value += theValue;
return true;
}
}
How can I make it work in more browsers? I've learnt that it doesn't work in Mozilla 1.3 ..
function addValue(theValue){
if(shoutForm.Mess.value == 'Message'){
shoutForm.Mess.value = theValue;
return true;
}else if(shoutForm.Mess.value == ''){
shoutForm.Mess.value = theValue;
return true;
}else{
shoutForm.Mess.value += theValue;
return true;
}
}
How can I make it work in more browsers? I've learnt that it doesn't work in Mozilla 1.3 ..