How to call the code behind return type function in javascript

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    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
    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

Similar Threads

  1. Replies: 0
    Last Post: Jan 11, 2012, 8:30 AM
  2. Call JavaScript function with CellSelection
    By bolzi89 in forum 1.x Help
    Replies: 5
    Last Post: Dec 23, 2011, 2:42 PM
  3. Replies: 8
    Last Post: Dec 23, 2011, 12:41 PM
  4. How to call the javascript function form code behind
    By harshad.jadhav in forum 1.x Help
    Replies: 3
    Last Post: Mar 29, 2011, 3:00 PM
  5. [CLOSED] Call Javascript Function
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 21, 2010, 3:58 AM

Posting Permissions