Skip to main content

Posts

Showing posts with the label Calling a javascript function from Page_Load

Call javascript function from codebehind in asp.net

Hello friends  Today I am going to explain how to call JavaScript function from code behind without assigning it to any control in asp.net. Calling a JavaScript function from code behind is quiet simple, yet it confuses a lot of developers. First declare a JavaScript function in your code as shown below: