Help: character and multiple textboxes
Hi,
I use the following string to change a form textbox - how will I alter the code to change multiple textboxes onclick?
Please help me....
Regards,
/P
<head>
<SCRIPT LANGUAGE="JavaScript">
var thisString;
function startText() {
thisString = document.text.body.value;
thisString = thisString.replace(/Ã/g, "Ä");
thisString = thisString.replace(/ä/g, "ä");
thisString = thisString.replace(/Ã
/g, "Å");
thisString = thisString.replace(/Ã¥/g, "å");
thisString = thisString.replace(/Ã/g, "Ö");
thisString = thisString.replace(/ö/g, "ö");
document.text.body.value=thisString;
}
</script>
</head>
and in the form onclick="startText();
|