Sorry, this is the current code;
<script type="text/javascript">
$(document).ready(function() {
ListUsers=function(em) {
var emid = em.title;
//$('#userslistdiv').html('id-' + emid);
$('#userslistdiv').show();
//var obj = { width:700, height:400, title:"List of Emailer Individuals" };
var colM = [
{ title: "IndivID", width: 100, dataType: "integer" },
{ title: "Lastname", width: 150, dataType: "string" },
{ title: "Firstname", width: 150, dataType: "string" }
];
var dataModel = {
location: "remote",
dataType: "JSON",
method: "GET",
getUrl : function () {
return { url: 'cfc/basic.cfc?method=getIndivs&EmID=' + emid};
},
getData: function ( response ) {
return { data: response };
}
}
$("#userslistdiv").pqGrid({ width:700, height:400, title:"List of Emailer Individuals", dataModel: dataModel, colModel: colM });
//alert("it worked-" + emid);
};
});
</script>