I am using jquery.gdocsviewer.min.js plugin to read office and pdf documents in a website. The plugin is working fine. I am trying to get the content of the generated preview using jquery
var rowcontent=$('.embed').html();///embed is the class of the link
But I cant get this to work. Check a working fiddle
http://jsfiddle.net/4s8bn/133/
Please advice me on what to do or if its practical. I want to fetch the content and save it as html in a database.