We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding script to converted HTML from DOC/DOCX

Hi ,

We have purchased Aspose.total for java 3 weeks back. We need to add some script code each time when the HTML is generated from doc/docx, depending on our business logic. Is there any option which can be used to add our scripts?



Hi Ajay,

Thanks for your inquiry. I am afraid, there is no way to add Javascript or additional attributes to HTML using Aspose.Words. Aspose.Words does not deal with Javascript and no Javascript is read or written during open and save.

I think, adding Javascript to an output HTML document can be done with some simple post-processing. If we can help you with anything else, please feel free to ask.

Best regards,