i create this form for strip <script></script>
tags but this form not working please any one modify this form to start working
<html>
<head>
<script language='javascript'>
function alfa(s) {
return s.replace(/<script>[^<\/script>]*<\/script>/g, "");
}
</script>
</head>
<body>
<form>
<textarea name="txt" style="width: 300px; height: 150px"></textarea><br />
<input type="button" value="Remove script tags" onClick="txt.value=alfa (txt.value)">
</form>
</body>
</html>