js url地址如何把定义的id值拼接进去呢你可以,先定义号url的字符串,像这样:var gid=10000var url ="..orderbuygoods?id"+gid+".html"window.location.href =u2023-04-21JavaScript210