News
The problem with your latter post is that indexOf returns (-1) when the substring is not found. <BR><BR>-1 == true<BR><BR>Instead test if the indexOf ("index2.htm") > -1.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results