Team:Peking/Test
From 2010.igem.org
(Difference between revisions)
Line 71: | Line 71: | ||
if(parent.frames.length) | if(parent.frames.length) | ||
{ | { | ||
- | d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); | + | d=parent.frames[n.substring(p+1)].document; |
+ | n=n.substring(0,p); | ||
} | } | ||
if(d.all) | if(d.all) | ||
if(!(x=d[n])) | if(!(x=d[n])) | ||
- | + | x=d.all[n]; | |
i = 0; | i = 0; | ||
- | while( i < d.forms. | + | if(!x) |
- | + | if( d.forms ) | |
- | + | while( i < d.forms.lenth ) | |
- | + | { | |
- | + | x = d.forms[ i ][ n ]; | |
- | + | i ++; | |
- | + | } | |
i = 0; | i = 0; | ||
if( !x ) | if( !x ) |
Revision as of 09:54, 24 September 2010