Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Javascript (https://www.askmehelpdesk.com/forumdisplay.php?f=452)
-   -   Calling Java Script Function in C# code (https://www.askmehelpdesk.com/showthread.php?t=138226)

  • Oct 8, 2007, 01:01 AM
    irfan123
    Calling Java Script Function in C# code
    How to call a java script function in c# code.
  • Oct 11, 2007, 02:08 PM
    jstrike
    If you're talking about client side JavaScript then the answer is you can't. C# is executed on the server, JavaScript is executed on the client. The C# page could write out the JavaScript but as far as call a function directly from the C# code, you can't.

  • All times are GMT -7. The time now is 03:39 PM.