No, xhtml2pdf does not run the <script> element in HTML. It is mainly a tool for converting HTML/CSS code into a PDF document and does not support dynamic scripting or interactivity.
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.