If you pass a param to the json call, it gets passed into the
querystring:

$.getJSON("jsdata/customerhandler.ashx", { show: Math.random(),
departmentId: dptId}, customerLoaded);

would be rendered as:

jsdata/customerhandler.ashx?show=0.23231553&departmentId=123

the second parameter to the getJson function is the query string
parameters.

Reply via email to