Replace & to &

前端 未结 4 1033
轻奢々
轻奢々 2021-02-09 02:43

Due to some Javascript actions to vars I got & instead of & in my var: So I tried this:

  url_summer = \'http://192.168.0.2         


        
4条回答
  •  误落风尘
    2021-02-09 03:30

    var tt=$('#title').val();
    var title=tt.replace(/\&/g,'').replace(/\&/g,'');		
    $('#new_title').html(title)
    
    
    
    
    

提交回复
热议问题