By export I assume you mean save to the client computer. Generally, there is not universal cross browser way to do this from the client-side only. Generally there must be http traffic from the server with a content type of text/csv etc do trigger the browser to do a download. For security reasons it is not really possible to trigger a download of javascript generated content. HOWEVER, you can do this, here is a great existing discussion about this.

Create a file in memory for user to download, not through server


You can export to the CSV, which is one of excel format.

Related Query

More Query from same tag