Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Can js on load

$
0
0
Hi,
   Thanks for your response. Actually i want to integrate jquery timepicker and jquery datepicker . So i initialize the timepicker in ready function like this 

<script type="text/javascript">
    $(function () {
      $('.date-picker').datetimepicker({
        pickTime: false
      });
      $('.time-picker').timepicker();
    });
  </script>

 What i need to know is can i initialize this in can controller without using script function in mustache file. 

Viewing all articles
Browse latest Browse all 3491

Trending Articles