Skip to main content
added 110 characters in body
Source Link
user1455719
  • 1.1k
  • 5
  • 16
  • 37

Background:

I have an angularjs application which displays a datetimepicker field.

Issue:

Once the page is loaded I want to run a javascript function to initialize the datepicker used in the page. At the moment it seems that the function call that I placed at the end of the page doesn't get picked.

Note : I use the 'bootstrap datetimepicker' from (http://eonasdan.github.io/bootstrap-datetimepicker/)

Background:

I have an angularjs application which displays a datetimepicker field.

Issue:

Once the page is loaded I want to run a javascript function to initialize the datepicker used in the page. At the moment it seems that the function call that I placed at the end of the page doesn't get picked.

Background:

I have an angularjs application which displays a datetimepicker field.

Issue:

Once the page is loaded I want to run a javascript function to initialize the datepicker used in the page. At the moment it seems that the function call that I placed at the end of the page doesn't get picked.

Note : I use the 'bootstrap datetimepicker' from (http://eonasdan.github.io/bootstrap-datetimepicker/)

Source Link
user1455719
  • 1.1k
  • 5
  • 16
  • 37

How to call a javascript function after the angularjs has finished loading and page is rendered

Background:

I have an angularjs application which displays a datetimepicker field.

Issue:

Once the page is loaded I want to run a javascript function to initialize the datepicker used in the page. At the moment it seems that the function call that I placed at the end of the page doesn't get picked.