I have this jquery grid I'm using (jqGrid) and it works but I'm unsure
how to pass in URL parameters that contain values from the users
session.  When a user logins my app I store some values in their
session.  I want to use these values as URL parameters for my grid.
The below code snippet lives in a file with an extension of .js so it
can't see any of my session variables I don't think.  I'm unclear how
to get them into my js code....

Here is my code snippet:

jQuery("#myBox").jqGrid({

    url:'/model/Employee.cfc?
method=getMyMessages&returnFormat=json&user_id=',
    datatype: 'json',
    mtype: 'GET',
                width:750,
    colNames:['Title', 'Date', 'Size'], etc, etc


Any help appreciated.

Reply via email to