[working code JSFIDDLE](http://jsfiddle.net/n9XRx/8/)

```
$( "#clickExcel" ).click(function() {  
  var dtltbl = $('#dtltbl').html();    
  window.open('data:application/vnd.ms-excel,' + encodeURIComponent($('#dtltbl').html()));
});

```

when i click on download as excel ... i get .part along with the extension like `GhCRExp0.xls.part` how to download the file without the name .part .Just with the filename `GhCRExp0.xls`