Is it possible to run javascript in the generate_inside_slideout_navigation hook? I tried running a script there but i cant make it work for some reason.
You can run javascript anywhere and it will apply to any element throughout the page – it doesn’t need to be placed anywhere specifically for it to work.
The best place for javascript is the wp_footer hook.
I have finally learnt how to enque my scripts, so i did enque the script but i will like to dislay a HTML table inside the slideout navigation. Basically run this code inside the slideout navigation hook