I assume you are building an application with either MDS Studio or the Visual Studio Plugin...
You can pass them like the following:
var1 = Form1.textbox1.value
var2 = From1.textbox2.value
system.loadurl("http:\\localhost\myaspx?parameter1=" + var1 + "¶meter2=" + var2);