forum

home / developersection / forums / call javascript's function from code behind

Call javascript's function from code behind

Anonymous User 2107 29-Aug-2014

I use below code for call javascript's function from code behind but doesn't call function 

//C#
Page.ClientScript.RegisterStartupScript(this.GetType(), "close panel", "CloseFunction()", true);
//javascript
function CloseFunction() {
            alert("call");
            }

Updated on 01-Sep-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By