Matt Harris
Matt Harris

Reputation: 1

IE getting [object Object] with turn.js

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.

Upvotes: 0

Views: 40

Answers (1)

Matt Harris
Matt Harris

Reputation: 1

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

Upvotes: -1

Related Questions