HELLO,
How to run as clientside script in asp.net web application
Regards
Sreejesh S P
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Akkiraju IvaturiPosted Jan 20, 2013, 11:15 AM
<script type="text/javascript" language="javascript">
function
hi(someVar)
{document.write(
"hi " + someVar);
}
script>
I have tested it and it works.
Sreejesh SPPosted Jan 20, 2013, 9:33 AM
Akkiraju IvaturiPosted Jan 19, 2013, 12:32 AM
function hi(var someVar)
{
document.write("hi " + someVar);
}
in .NET on a method you wish to call the javascript method from:
string whatever = "blahblah";
Page.RegisterStartupScript("myScript", "");