5
Answers

how do count days in a calender?

sudharsan s

sudharsan s

12y
2.8k
1
hi,


i have year calender. i want to count the days in a year. when i am select year in a dropdown i want to display the days count of that year.

and aslo i have to display the days count exclude sunday of the whole year.


pls help me.

its urjent, post code or give some demos link
Answers (5)
0
Vikram
NA 319 262.4k 14y
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