function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shailendra SuryawanshiShailendra Suryawanshi 

Nested apex:component

I've created a nested visualforce component i.e. apex:component inside another apex:component. The parent component is included inside visualforce page.
 
It renders the HTML but Javascript is not working.

Please suggest. Is there any way to make Javascript work? Or is it not a proper way to include component inside another component?
Andy BoettcherAndy Boettcher
Are you trying to render the parent VF page as PDF?  That kills all JS scripts.
Shailendra SuryawanshiShailendra Suryawanshi
No, not rendering as PDF.