0
Hi yashwant,
Just Define variable in the Markup it consider as Global.
e.g
<script type='text/javascript>
var Navigateurl="~/block/abc.aspx";
function pageLoad()
{
//do something
}
function otherFunction()
{
var newurl = Navigateurl;
}
</script>
This way you can declare the global variable in the markup.
Hope this will help you.
Regards,
Vikram