change this line from
string javascript = string.Format("javascript:SelectPMxId({0},{1});", employee.PMxId, employee.FullName);
to
string javascript = string.Format("javascript:SelectPMxId('{0}','{1}');", employee.PMxId, employee.FullName);</pre>
as
employee.FullName is a string value, it should be passed within quotes. else it wont be considered as a value.