I want to load some javascript for the front page of my theme after jquery and jquery ui is loaded. what would be the hook to use?
I am aware of the functions.php and I have used is_front_page(). By inserting wp_register_script in functions.php, I can queue the script after the libraries I want loaded but I also want to load it only on the frontpage. Using is_front_page() on header.php, the script gets loaded ahead of jquery.
How could I load my javascript after loading the jquery and only on the front page?