My Problem is I am try to call Public variable in Code Behind From JavaScript function
I try To Do This :
In Code Behind Section:
public string str ="TEST";
In JavaScript Section:
<script type="text/javascript" language="javascript">
function funDoSomething()
{
var strMessage = '<%= str%>';
alert( strMessage );
}
</script>
Any Suggestion?
I found the answer and it is Like this
In JavaScript Section:
This Work With Me 🙂