Solution: if you cannot directly write the click effect, you must add a parameter in the hyperlink to change the focus according to the parameter value. The implementation method is as follows:
<Div class = "vip_search">
<Div class = 'vip _ search1'>
<Div class = 'vip _ search1a '>
<Ul class = 'texts'>
<Li> <a href = "http://member.360duohui.com/member/infoEdit.do? Mane = 0 "> homepage </a> <span> </LI>
<Li> <a href = "http://order.360duohui.com/myOrder/myOrder.do? Mane = 1 "> my transactions </a> <span> </LI>
<Li> <a href = "http://pay.360duohui.com/account/memberAccount.do? Mane = 2 "> my account </a> <span> </LI>
<Li> <a href = "http://member.360duohui.com/communication/message/reciveBox.do? Mane = 3 "> my messages </a> <span> </LI>
</Ul>
</Div>
<Div class = 'vip _ search1s search'>
</Div>
</Div>
</Div>
</Div>
<SCRIPT>
VaR url = location. Search; // get the URL "? "Character String
VaR therequest = [];
If (URL. indexof ("? ")! =-1 ){
VaR STR = URL. substr (1 );
STRs = Str. Split ("&");
For (VAR I = 0; I <STRs. length; I ++ ){
Therequest [STRs [I]. Split ("=") [0] = Unescape (STRs [I]. Split ("=") [1]);
}
}
$ ('. Texts'). Find ('lil'). eq (therequest. Mane). Find ('span'). addclass ('atsa ');
</SCRIPT>
How to focus on the same file while refreshing the entire page during Tab switching on a page