How to call a java script function in c# code.
![]() |
How to call a java script function in c# code.
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. |