Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 69: Line 69:
                 ans=req.responseText;
                 ans=req.responseText;
                 ans=ans.substr(ans.search("<start>"),ans.search("<end>")-ans.search("<start>"));
                 ans=ans.substr(ans.search("<start>"),ans.search("<end>")-ans.search("<start>"));
-
                 document.getElementById(day).innerHTML=trimContents(ans);
+
                 document.getElementById(day).innerHTML=trimContents(ans,title);
             }
             }
}  
}  

Revision as of 21:41, 25 October 2008

Gallery Bricks Notebook Team Project Home