Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 24: Line 24:
}
}
-
function removeHTMLTags(strInputCode ){
+
function removeHTMLTags(strInputCode2 ){
 +
                var strInputCode=new String();
 +
                strInputCode=strInputCode2;
strInputCode = strInputCode.replace(/&(lt|gt);/g, function (strMatch, p1){
strInputCode = strInputCode.replace(/&(lt|gt);/g, function (strMatch, p1){
return (p1 == "lt")? "<" : ">";
return (p1 == "lt")? "<" : ">";

Revision as of 14:57, 27 October 2008

Gallery Bricks Notebook Team Project Home