function DeleteHtmlFromStartToEnd(str
str = str
if (str
return str;
}
var substr = str
str = str
return DeleteHtmlFromStartToEnd(str
}
var str =
var result = DeleteHtmlFromStartToEnd(str
alert(result);
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20356.html