function parseParams()
{
    locationHref 
= document.location.href;
    arr 
= locationHref.split("?");
    
if ( typeof(arr[1]) != 'undefined' && arr[1]!='' )
    {
        arr[
1= "'"+arr[1]+"'";
        ostr 
= arr[1].replace(/=/g,"':'");
        ostr 
= ostr.replace(/&/g,"','");        //alert(ostr);

        eval ( 
"var po={"+ ostr +"};" );
        
return po;
    }
    
return {};
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
猜你喜欢
  • 2021-09-27
  • 2022-12-23
  • 2021-08-24
  • 2023-01-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案