English
<!-- Add the following code to the <body> area --> Comment: Why do we need to filter the contents of the TEXT area in the form? This is purely for safety reasons. Many message boards or form submissions allow the use of HTML language, which brings security risks. People who know some JavaScript can easily make your system crash by leaving a short JS script. The following code is used to clear the HTML statements in the text input area and place them in the <HEAD> area of HTML <SCRIPT LANGUAGE="JavaScript"> 〈!-- Begin function Del(Word) { a = Word.indexOf("〈"); b = Word.indexOf(">"); len = Word.length; c = Word.substring(0, a); if(b == -1) b = a; d = Word.substring((b + 1), len); Word = c + d; tagCheck = Word.indexOf("〈"); if(tagCheck != - 1) Word = Del(Word); return Word; } function Check() { ToCheck = document.form.text.value; Checked = Del(ToCheck); document.form.text.value = Checked; return false; } / / End --> 〈/SCRIPT> The following is the submitted form, 〈form action="mailto:xiaoqinglu@263.net" name=form onSubmit="return Check()"> 〈textarea cols="50" rows=" 6" name="text">〈/textarea> 〈br> 〈input type="submit" value="Submit"> 〈/form>