Mar 08, 2011, 10:20 AM
How to call the code behind return type function in javascript
Pls tell me how get the return type function value in javascript.below i m providing my code.
.Js File Code
.Js File Code
tooltip_text = function(start, end, event) {
var FF = EHR.GetPhysicianName("Test");
return FF;
};
.Cs File
[DirectMethod]
public static string GetPhysicianName(string PHYID)
{
return "Hello"+ PHYID;
}
pls help me as soon as possible....
Last edited by Daniil; Mar 08, 2011 at 1:46 PM.
Reason: Please use [CODE] tags