Template:WarNotebook
From 2008.igem.org
(Difference between revisions)
Line 103: | Line 103: | ||
req.overrideMimeType('text/xml'); | req.overrideMimeType('text/xml'); | ||
req.onreadystatechange = function() { //początek wewnętrznej funkcji | req.onreadystatechange = function() { //początek wewnętrznej funkcji | ||
- | if ( | + | if (req.readyState == 4) { |
- | if ( | + | if (req.status == 200) { |
ans=req.responseText; | ans=req.responseText; | ||
alert(ans.search(phrase)); | alert(ans.search(phrase)); |
Revision as of 17:43, 9 October 2008
|