text中的数据如何通过location.href传递

2025-12-17 07:40:01
推荐回答(1个)
回答1:

如果是以下两种情况:

1、
2、

用这样的代码就可以调用它们的值:

location.href='action.asp?tt='+text.value;