<script type="text/javascript" language="javascript">
function helloWorld(data) {
alert(data);
}
</script>
-----------------
string strParamter = "Hello World test";
ClientScript.RegisterStartupScript(GetType(), "Javascript", "javascript:helloWorld('" + strParamter + "'); ", true);
function helloWorld(data) {
alert(data);
}
</script>
-----------------
string strParamter = "Hello World test";
ClientScript.RegisterStartupScript(GetType(), "Javascript", "javascript:helloWorld('" + strParamter + "'); ", true);
No comments:
Post a Comment