IE getting [object Object] with turn.js

42 views Asked by At

I recently started using turn.js. However, I wanted to know how to make link so that a certain text would open up a page.

I found that -

 <a href="javascript:$('#flipbook').turn('page',8)">test</a>

would work. But only chrome? Does anyone know why I would get [object Object] on IE? I am very new to Javascript.

1

There are 1 answers

4
Matt Harris On

So turns out the issue I had that I needed to add ;void(0); to the line and now it works!