How can I choose the option in the selectbox according to the data that comes with the get method?

前端 未结 0 2032
一个人的身影
一个人的身影 2021-02-06 10:37
function getUrlVars(){
  var vars = {};
  var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value){
      vars[key] = value;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题