Quote:
Originally Posted by Ilcaa
i am attaching a very small sample with the script. If someone could correct it and let me know what I was missing that would be great. Thanks for the help
|
You'll need to add
onload to actually load the script:
Code:
<body onload="javascript:init()">
And as KevinH has already pointed out, you'll need to enable the Javascript option in Sigil.
However, using JavaScript in this way wouldn't be useful, if you actually want to
permanently change text in the epub.