如何在form action中插入变量?

如图.前面框是输入搜索关键字.后面框是选择产品类别.

目前表单提交代码是form action="products.asp" method="post",
点搜索按钮直接跳转到页面:products.asp

我的要求是action跳转到的页面网址包括变量.包含所选的类别的代号和输入的关键字.
比如: products.asp?sclass_id=436&keywords=abcd&page=1 其中变量436表示所选Universal Diagnostic Tool类别的值,变量abcd为所输入的关键字.

在html中 form表单里加上隐藏标签

<input type='hidden" name="你要的参数名" value="你所谓的变量值">
<input type='hidden" name="sclass_id" value="436">
<input type='hidden" name="keyword" value="abcd">
<input type='hidden" name="page" value="a">
可以通过$('[name=sclass_id]').val(赋值)
写在你的select 的change事件里