Thread
:
Does .pdf conversion support indexOf()?
View Single Post
02-21-2015, 10:20 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
indexOf operates on strings, getElementById returns DOM nodes.
calibre uses WebKit for pdf conversion, which means it has a complete browser engine with full javascript support.
You want document.getElementById("header").innerHTML.indexO f
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS