|
-
Apr 14th, 2011, 04:40 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] how i can return value string from function javascript to code-behind asp.net
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)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|