title: How to export html table to excel or pdf in a HTML page through jQuery/JavaScript?
body: <p>I have a html page with a table which is populated dynamically. I need to put 2 buttons below it which enables exporting the table structure data to Excel and PDF.</p>
  
  <p>What is the best/easiest approach to implement this?</p>
  
  <p>I will prefer some Javascript/jQuery solution. I have seen <a href="http://docraptor.com/documentation#jquery_example" rel="nofollow">DocRaptor</a>, but I think its a paid service. I need something similar which works on IE8 browser. Please Help !</p>