Hi All,
how i can return value string from function javascript to code-behind asp.net
directly as this syntax example but this give me errors

in html code

<script>
function Getstr()
{
return "MyStr";
}
</script>

in code-behind
Page.ClientScript.RegisterStartupScript(Me.Getstr(), "alert", "Getstr();", True)